Skip to content

Commit

Permalink
Add defaultValue to formData
Browse files Browse the repository at this point in the history
  • Loading branch information
moellenbeck committed Jun 24, 2024
1 parent 9967035 commit f8e3012
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@5minds/node-red-dashboard-2-processcube-dynamic-form",
"version": "1.0.5",
"version": "1.0.6",
"description": "The ui component for the ProcessCube dynamic-form",
"keywords": [
"processcube",
Expand Down
2 changes: 1 addition & 1 deletion ui/components/DynamicForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default {
console.info('field:', field)
console.info('field.id:', field.id)
acc[field.id] = field.value || ''
acc[field.id] = field.value || field.defaultValue || ''
return acc
}, {})
Expand Down

0 comments on commit f8e3012

Please sign in to comment.