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

Missing Survey.onRequiredChanged event handler #1884

Open
taylorfinnell opened this issue Nov 1, 2019 · 0 comments
Labels

Comments

@taylorfinnell
Copy link

@taylorfinnell taylorfinnell commented Nov 1, 2019

Are you requesting a feature, reporting a bug or asking a question?

Feature request

What is the current behavior?

Currently SurveyJS lacks an onRequiredChanged event handler for questions that fires when the isRequired state of a question is changed whether it be from a requiredIf expression changing boolean result or manually changing the isRequired property.

What is the expected behavior?

An event to be fired when the question's isRequired property changes

Other

I think the following can be used for now. But, it would be nice to not have to register a handler on every question manually.

question.registerFunctionOnPropertyValueChanged("isRequired", ...)
@tsv2013 tsv2013 added the enhancement label Nov 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.