Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Value or empty relation assertion hidden field #65

Open
Labels
enhancementNew 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

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /