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
I need to use the required_if rule, but it is not implemented in the repo, although the documentation says that it is available.
When I try to use it by importing the rule:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I need to use the required_if rule, but it is not implemented in the repo, although the documentation says that it is available.
When I try to use it by importing the rule:
import {
required,
required_if,
email,
numeric,
confirmed,
alpha,
} from "@vee-validate/rules";
Vue show me this error:
Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/@vee-validate_rules.js?v=ddcc59af' does not provide an export named 'required_if'
I see this file in the nodule modules:
node_modules/@vee-validate/rules/dist/vee-validate-rules.js
required_if does not exist. Could you please help me, I need that validation rule or give me a different alternative. thank you so much
Beta Was this translation helpful? Give feedback.
All reactions