ywana-core8 0.0.822 → 0.0.824

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.umd.js CHANGED
@@ -1442,7 +1442,7 @@
1442
1442
  onFocus: focus,
1443
1443
  onBlur: blur,
1444
1444
  readOnly: readOnly,
1445
- step: any
1445
+ step: "any"
1446
1446
  }), readOnly === false && canClear && value && value.length > 0 ? /*#__PURE__*/React__default["default"].createElement(Icon, {
1447
1447
  icon: "close",
1448
1448
  clickable: true,
@@ -7466,8 +7466,13 @@
7466
7466
 
7467
7467
  var _temp12 = _catch$4(function () {
7468
7468
  if (versioning) form.version = 1;
7469
- return Promise.resolve(API.create(form)).then(function () {
7470
- return Promise.resolve(_this8.load()).then(function () {});
7469
+ return Promise.resolve(API.create(form)).then(function (response) {
7470
+ return Promise.resolve(_this8.load()).then(function () {
7471
+ if (response) {
7472
+ var id = response.id;
7473
+ if (id) _this8.select(id);
7474
+ }
7475
+ });
7471
7476
  });
7472
7477
  }, function (error) {
7473
7478
  console.log(error);