You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm putting together some homepage demos on vueformulate.com which is using @braid/vue-formulate at version 2.0.4 and in the process have noticed that the "checkbox" and "radio" input types do not validate as I expect.
checkbox
When creating an input with type of checkbox the value is present without an interaction as an empty array rather than the key not existing in the returned object all.
My expectation would be to have it dropped from the modeled data entirely. Additionally, even though the demo has a validation rule of required|min:1 it is not failing the check when I submit the form.
radio
A similar issue exists when the input is set to radio. The Initial value without any user interaction to the form appears to be the last option in the array of choices.
This means that it also does not fail the validation rule check because there's a mapped value by default in the v-modeled values object.
The text was updated successfully, but these errors were encountered:
I'm putting together some homepage demos on vueformulate.com which is using
@braid/vue-formulate
at version2.0.4
and in the process have noticed that the "checkbox" and "radio" input types do not validate as I expect.checkbox
When creating an input with type of
checkbox
the value is present without an interaction as an empty array rather than the key not existing in the returned object all.My expectation would be to have it dropped from the modeled data entirely. Additionally, even though the demo has a validation rule of
required|min:1
it is not failing the check when I submit the form.radio
A similar issue exists when the input is set to
radio
. The Initial value without any user interaction to the form appears to be the last option in the array of choices.This means that it also does not fail the validation rule check because there's a mapped value by default in the v-modeled
values
object.The text was updated successfully, but these errors were encountered: