We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
undefined
null
1 parent 3a3990b commit 4bfe227Copy full SHA for 4bfe227
packages/core/src/VisuallyHidden/VisuallyHiddenInput.vue
@@ -21,7 +21,7 @@ const isFormArrayEmptyAndRequired = computed(() =>
21
22
const parsedValue = computed(() => {
23
// if primitive value
24
- if (typeof props.value === 'string' || typeof props.value === 'number' || typeof props.value === 'boolean') {
+ if (typeof props.value === 'string' || typeof props.value === 'number' || typeof props.value === 'boolean' || props.value === null || props.value === undefined) {
25
return [{ name: props.name, value: props.value }]
26
}
27
0 commit comments