-
-
Notifications
You must be signed in to change notification settings - Fork 528
Open
Labels
feature: improveImprove existing functionality to fit new requirementsImprove existing functionality to fit new requirements
Milestone
Description
Hello.
Looking for a solution for !group->subfields.
Is there any way to disable field:
- based on already selected items
Fro example:
personal: { label: 'Personal Data', tooltip: 'Group of fields', type: '!struct', subfields: { personalStatistics: { label: 'Current Balance', type: '!group', subfields: { gender: { label: 'Gender', type: 'text', valueSources: ['value'], }, country: { label: 'Currency', type: 'select', valueSources: ['value'], operators: ['select_equals'], listValues: [ { value: '50', title: 'USA' }, ], },
If I choose gender, can I make impossible for user to choose country? And vise versa.
- is it possible to disable one field based on condition (validation for example)?
And I have seen in code that disabled property is passing to widget not from field, but for whole query builder. For instance it is possible to disable by setting immutableValuesMode in setting.
But can it be done to one single field?
Thank you in advance
danyrojj
Metadata
Metadata
Assignees
Labels
feature: improveImprove existing functionality to fit new requirementsImprove existing functionality to fit new requirements