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
Can we use both required and required_if at the same time?
I am trying to validate two select lists at the same time connected to each other as well. The situation/scenario is as follows:
At start, the second select list is disabled. When you choose an option from the first select list, it (the second list) becomes active. Now after choosing an option from the second list and submitting the form I am getting the error "The Error Type field is required" in fact that the field is already been filled.
I am trying to put two rules in the second select list with both "required" and "required_if" validators. (though "required_if" validator is working fine)
* feat(i18n): allow custom interpolation options for i18n
Allow for specifying custom interpolation options for i18n.
This is useful for custom interpolation patterns, such as `{{` and `}}`.
Tests added, and scoped to the i18n module.
Closes#4726
* test(i18n): undo describe scoping
Unwrapped the tests from the describe blocks, so the diff is cleaner.
Prefixed new tests names so they don't collide, also in commented section with begin/end.
#4726
* docs(i18n): add docs for interpolation settings
#4726
* docs(i18n): fix example
#4246
What happened?
Can we use both required and required_if at the same time?
I am trying to validate two select lists at the same time connected to each other as well. The situation/scenario is as follows:
At start, the second select list is disabled. When you choose an option from the first select list, it (the second list) becomes active. Now after choosing an option from the second list and submitting the form I am getting the error "The Error Type field is required" in fact that the field is already been filled.
I am trying to put two rules in the second select list with both "required" and "required_if" validators. (though "required_if" validator is working fine)
The code is as following:
Here is the script:
How can I overcome with this problem? I would appreciate any help.
Reproduction steps
No response
Version
Vue.js 2.x and vee-validate 3.x
What browsers are you seeing the problem on?
Relevant log output
Demo link
Sorry no links (Gov project. Hope you understand)
Code of Conduct
The text was updated successfully, but these errors were encountered: