ywana-core8 0.0.475 → 0.0.476
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.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/textfield.test.js +2 -1
- package/src/html/tokenfield.js +1 -1
package/dist/index.modern.js
CHANGED
@@ -1956,7 +1956,7 @@ var TokenField = function TokenField(_ref) {
|
|
1956
1956
|
event.preventDefault();
|
1957
1957
|
event.stopPropagation();
|
1958
1958
|
var token = event.target.value;
|
1959
|
-
var next = tokens.concat(token);
|
1959
|
+
var next = tokens.concat(token.trim());
|
1960
1960
|
if (onChange) onChange(id, next);
|
1961
1961
|
setValue('');
|
1962
1962
|
}
|