jeudi 23 mai 2019

Vuetify checkbox true-value seems to be bugged?

I have been attempting to use the true-value and false-value props on the v-checkbox element.

I have attempted on this codepen and it would not work: https://codepen.io/anon/pen/pmaZpd?editors=1010

<v-checkbox v-model="devText1" true-value="Yes" false-value="No"/>

However when I looked in the vuetify definition of the component the properties do in-fact exist though they are not documented.

I changed the falseValue and trueValue property definition in node_modules/vuetify/src/mixins/selectable.js from null to {} and back it started working.

Is this an issue with the current version of vuetify?




Aucun commentaire:

Enregistrer un commentaire