1
0
Fork 0
mirror of synced 2024-07-13 18:26:06 +12:00

Merge pull request #8518 from Budibase/fix/8510

Merging 8510 to master
This commit is contained in:
Michael Drury 2022-11-04 10:45:42 +00:00 committed by GitHub
commit 2253d5c080

View file

@ -44,7 +44,10 @@
// run the validation whenever the config changes
$: validation.check(config)
// dispatch the validation result
$: dispatch("valid", Object.keys($validation.errors).length === 0)
$: dispatch(
"valid",
Object.values($validation.errors).filter(val => val != null).length === 0
)
let addButton