-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Should be useful when we have DiscriminatedBlocks and use different set of fields in each block and we want to unset fields or relations not used in the block and we want to unset them when we change type.
Illustrative example:
<DiscriminatedBlocks field="type" label="Type" >
<Block discriminateBy="typeA" label="Type A">
<SelectField label="Some useful stuff" field="fieldOnTypeA" options="Foo.bar" />
<AssertNull field="fieldOnTypeB" />
</Block>
<Block discriminateBy="typeB" label="Type B">
<SelectField label="Different stuff" field="fieldOnTypeB" options="Foo.bar" />
<AssertNull field="fieldOnTypeA" />
</Block>
</DiscriminatedBlocks>Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request