Skip to content

Commit

Permalink
Fixed issue when null value passed
Browse files Browse the repository at this point in the history
  • Loading branch information
true-andrew committed Jun 20, 2024
1 parent 87cfcbb commit 0be1ad0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const parsedValue = computed(() => {
}
// if object value
else if (typeof props.value === 'object' && !Array.isArray(props.value)) {
else if (typeof props.value === 'object' && props.value !== null) {
return Object.entries(props.value as object).map(([key, value]) => ({ name: `[${props.name}][${key}]`, value }))
}
Expand Down

0 comments on commit 0be1ad0

Please sign in to comment.