Is there a way to dynamically change which fields are available to Angular-QueryBuilder?
I've tried:
- Updating the
fields
property of myQueryBuilderConfig
.- Nothing happens.
- Removing and re-adding the component using
ngIf
andChangeDetectorRef
.- The fields do update.
- However, now certain fields break the query builder. When any of those fields is selected, the add rule and add ruleset buttons appear to do nothing. You have to remove the problem field before your additions show up.
- Video: https://i.imgur.com/UXZgpQ4.mp4