ywana-core8 0.0.240 → 0.0.241
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 +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +3 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/textfield.js +3 -2
- package/src/html/textfield.test.js +1 -1
package/dist/index.modern.js
CHANGED
@@ -878,7 +878,7 @@ var TextField = function TextField(props) {
|
|
878
878
|
}
|
879
879
|
|
880
880
|
function focus() {
|
881
|
-
if (site) {
|
881
|
+
if (site && site.changeFocus) {
|
882
882
|
site.changeFocus({
|
883
883
|
lose: function lose() {// DO NOTHING
|
884
884
|
}
|
@@ -948,11 +948,12 @@ var TextArea = function TextArea(props) {
|
|
948
948
|
event.stopPropagation();
|
949
949
|
event.preventDefault();
|
950
950
|
var value = event.target.value;
|
951
|
+
console.log(value);
|
951
952
|
if (onChange) onChange(id, value);
|
952
953
|
}
|
953
954
|
|
954
955
|
function focus() {
|
955
|
-
if (site) {
|
956
|
+
if (site && site.changeFocus) {
|
956
957
|
site.changeFocus({
|
957
958
|
lose: function lose() {// DO NOTHING
|
958
959
|
}
|