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

Ability to mark a field mandatory on rule #1541

Open
vinayvenu opened this issue Mar 4, 2024 · 2 comments
Open

Ability to mark a field mandatory on rule #1541

vinayvenu opened this issue Mar 4, 2024 · 2 comments
Labels

Comments

@vinayvenu
Copy link
Member

vinayvenu commented Mar 4, 2024

The current rules only allow for fields to be mandatory statically. In many scenarios, it is useful to make them mandatory on demand.

Acceptance criteria

  • The visibility rule provides an option to override the value of mandatory that is provided on a form element
  • Make mandatory and Remove mandatory option provided as an action on the form designer
  • Corresponding changes made to the rule generator (rules-config) to apply these changes
  • avni-client, rules-server and avni-webapp respect this rule and make fields mandatory based on this result (if provided)
@mahalakshme
Copy link

has work on DEA side as well - since it involves changing the UI(mandatory indication - asterik) based on results of rule

@vinayvenu
Copy link
Member Author

@mahalakshme that is acceptance criteria 4, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: New Issues
Development

No branches or pull requests

2 participants