@things-factory/form-ui 7.0.1-alpha.39 → 7.0.1-alpha.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -44,7 +44,7 @@ class SearchForm extends LitElement {
|
|
|
44
44
|
@keypress=${e => {
|
|
45
45
|
if (e.keyCode === 13) {
|
|
46
46
|
e.preventDefault()
|
|
47
|
-
this.submit()
|
|
47
|
+
this.submit(e)
|
|
48
48
|
}
|
|
49
49
|
}}
|
|
50
50
|
>
|
|
@@ -302,8 +302,10 @@ class SearchForm extends LitElement {
|
|
|
302
302
|
return data
|
|
303
303
|
}
|
|
304
304
|
|
|
305
|
-
submit() {
|
|
306
|
-
this.dispatchEvent(new CustomEvent('submit'
|
|
305
|
+
submit(e) {
|
|
306
|
+
this.dispatchEvent(new CustomEvent('submit', {
|
|
307
|
+
detail : e
|
|
308
|
+
}))
|
|
307
309
|
}
|
|
308
310
|
}
|
|
309
311
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/form-ui",
|
|
3
|
-
"version": "7.0.1-alpha.
|
|
3
|
+
"version": "7.0.1-alpha.52",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@operato/layout": "^2.0.0-alpha.0"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "5a1b7d0f19f4d523e0d1d9eb5d600d54006b6ab5"
|
|
30
30
|
}
|