lundi 30 août 2021

Make Accept Terms and conditions fields required in Laravel

I have a checkbox in vue.js

<input  v-model="form.accept" name="Accept" type="checkbox" value="false">

i have model defined

 data() {
        return {
            form: new Form({
                accept: false,

now i want to make this field required

 'accept' =>'required|true',

but this is not working



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire