vue validate library install code example Example: vuelidate require if required: requiredIf(()=> { return condition })