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.
@@ -1440,7 +1440,7 @@ var TextField = function TextField(props) {
1440
1440
  onFocus: focus,
1441
1441
  onBlur: blur,
1442
1442
  readOnly: readOnly,
1443
- step: any
1443
+ step: "any"
1444
1444
  }), readOnly === false && canClear && value && value.length > 0 ? /*#__PURE__*/React.createElement(Icon, {
1445
1445
  icon: "close",
1446
1446
  clickable: true,
@@ -7464,8 +7464,13 @@ var CollectionContext$1 = function CollectionContext(url, field, host, page, fet
7464
7464
 
7465
7465
  var _temp12 = _catch$4(function () {
7466
7466
  if (versioning) form.version = 1;
7467
- return Promise.resolve(API.create(form)).then(function () {
7468
- return Promise.resolve(_this8.load()).then(function () {});
7467
+ return Promise.resolve(API.create(form)).then(function (response) {
7468
+ return Promise.resolve(_this8.load()).then(function () {
7469
+ if (response) {
7470
+ var id = response.id;
7471
+ if (id) _this8.select(id);
7472
+ }
7473
+ });
7469
7474
  });
7470
7475
  }, function (error) {
7471
7476
  console.log(error);