@vonage/vvd-foundation
Advanced tools
Comparing version 0.11.0 to 0.12.0
@@ -0,1 +1,10 @@ | ||
# [0.12.0](https://github.com/vonage/vivid/compare/v0.11.0...v0.12.0) (2020-10-03) | ||
### Bug Fixes | ||
* **textfield:** submit on enter prevented typing input ([11e5022](https://github.com/vonage/vivid/commit/11e50224c602782e9914050b00fb211d2697d755)) | ||
# [0.11.0](https://github.com/vonage/vivid/compare/v0.10.0...v0.11.0) (2020-09-29) | ||
@@ -2,0 +11,0 @@ |
@@ -5,3 +5,2 @@ import { requestSubmit } from '../form-association'; | ||
element.addEventListener('keydown', function (event) { | ||
event.preventDefault(); | ||
const form = getFormByIdOrClosest(this); | ||
@@ -12,2 +11,3 @@ if (!form) { | ||
if (event.key === 'Enter') { | ||
event.preventDefault(); | ||
requestSubmit(form); | ||
@@ -14,0 +14,0 @@ } |
{ | ||
"name": "@vonage/vvd-foundation", | ||
"version": "0.11.0", | ||
"version": "0.12.0", | ||
"description": "internal package to hold constants, definitions and primitives to be used in the rest of Vivid ecosystem", | ||
@@ -28,3 +28,3 @@ "homepage": "https://github.com/Vonage/vivid/tree/master/components/foundation#readme", | ||
}, | ||
"gitHead": "ea9cd3a95a11dd0c281950329fb6c8b698903ab8" | ||
"gitHead": "ffe21d0844901395c864a8856c2f5bcd5c0ace52" | ||
} |
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
37766