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



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2UWNLuy
via IFTTT

Aucun commentaire:

Enregistrer un commentaire