@json-layout/core
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "@json-layout/core", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Compilation and state management utilities for JSON Layout.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -470,10 +470,12 @@ // eslint-disable-next-line import/no-named-default | ||
blur (node) { | ||
// debounced data is applied immediately on blur | ||
this.applyDebouncedInput() | ||
if (this._currentInput === node.fullKey) this._currentInput = null | ||
// re-apply once now that _currentInput was emptied to add default data | ||
if (node.layout.getDefaultData && useDefaultData(node.data, node.layout, node.options)) { | ||
this.applyInput(node, node.data, true) | ||
// debounced data is applied immediately on blur | ||
if (this.debouncedInput) { | ||
this.applyDebouncedInput() | ||
} else { | ||
// re-apply once now that _currentInput was emptied to add default data | ||
if (node.layout.getDefaultData && useDefaultData(node.data, node.layout, node.options)) { | ||
this.applyInput(node, node.data, true) | ||
} | ||
} | ||
@@ -480,0 +482,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
178002
3994