Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom attributes on model to facilitate conditional display of entry fields #30

Open
pm64 opened this issue Jul 10, 2021 · 1 comment
Assignees

Comments

@pm64
Copy link

pm64 commented 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.

@pm64 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
@stale stale bot added the wontfix This will not be worked on label Jul 24, 2021
@Aaltuj Aaltuj removed the wontfix This will not be worked on label Jul 28, 2021
@Aaltuj Aaltuj self-assigned this Jul 28, 2021
@Aaltuj
Copy link
Owner

Aaltuj commented Jul 28, 2021

Please see my response in #29 :)

Repository owner deleted a comment from stale bot Jul 28, 2021
Repository owner deleted a comment from stale bot Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants