You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are cases where we only display field Foo if the user enters value x into field Bar.
The most common example is probably a dropdown with an "other" selection that causes an additional text input to be displayed.
If #29 were implemented, I could achieve this behavior by manipulating the generated form. But the requirement is so common that specifying the conditional display logic using custom attributes on the model would be ideal.
The text was updated successfully, but these errors were encountered:
pm64
changed the title
Attributes to facilitate conditional display of entry fields
Custom attributes on model to facilitate conditional display of entry fields
Jul 10, 2021
There are cases where we only display field Foo if the user enters value x into field Bar.
The most common example is probably a dropdown with an "other" selection that causes an additional text input to be displayed.
If #29 were implemented, I could achieve this behavior by manipulating the generated form. But the requirement is so common that specifying the conditional display logic using custom attributes on the model would be ideal.
The text was updated successfully, but these errors were encountered: