mercredi 27 septembre 2017

Vue checkbox checked and disable at the same time

I need to have checbox which is always checked and disabled at the same time. I tryed to do like this but it doesn't work:

<label class="form-check-label" for="clientAcceptClousure">
                    <input class="form-check-input" type="checkbox" id="clientAcceptClousure"
                           checked disabled 
                    v-model="clientAcceptClousure">
                    Client accept Clousure
</label>

It would be great to have some value to this input: true probably but it doesn't see this.




Aucun commentaire:

Enregistrer un commentaire