0👍
It might be due to the or(||) condition you are using. You should use and(&&) to confirm the validation to run only when both of your conditions are met
Source:stackexchange.com
0👍
It might be due to the or(||) condition you are using. You should use and(&&) to confirm the validation to run only when both of your conditions are met