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
{{ message }}
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
It is impossible to make a validator for case when value can be empty depending on other values.
For example, if some checkbox is checked, then empty value is allowed. If checkbox is not checked, empty value is not allowed.
checkbox name: doesNotHaveOwner (I understand that using negative is bad, but our case needs this behaviour)
input name: ownerName
if doesNotHaveOwner == 0, then ownerName is mandatory (As both are empty, then no validator is invoked)
if doesNotHaveOwner == 1, then ownerName can be empty.
The text was updated successfully, but these errors were encountered:
Jira Information
Description
It is impossible to make a validator for case when value can be empty depending on other values.
For example, if some checkbox is checked, then empty value is allowed. If checkbox is not checked, empty value is not allowed.
checkbox name: doesNotHaveOwner (I understand that using negative is bad, but our case needs this behaviour)
input name: ownerName
if doesNotHaveOwner == 0, then ownerName is mandatory (As both are empty, then no validator is invoked)
if doesNotHaveOwner == 1, then ownerName can be empty.
The text was updated successfully, but these errors were encountered: