wotamann / vuetify-form-base

Schema-based Form Generator - Vue.js 2.0 Component based on Vuetify 2.0
https://wotamann.github.io/vuetify
230 stars 63 forks source link

Update vFormBase.vue #97

Closed mrpaulharris closed 3 years ago

mrpaulharris commented 3 years ago

The onInput() method harmonizes undefined or empty strings => null, because 'clearable' in vuetify controls resets to null and not to empty string.

As a side-effect it converts checkbox false values to null.

Proposal is to only change undefined and empty strings to null.