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.cjs +8 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +8 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +8 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/CollectionPage.js +5 -1
- package/src/html/textfield.js +1 -1
package/dist/index.cjs
CHANGED
@@ -1448,7 +1448,7 @@ var TextField = function TextField(props) {
|
|
1448
1448
|
onFocus: focus,
|
1449
1449
|
onBlur: blur,
|
1450
1450
|
readOnly: readOnly,
|
1451
|
-
step: any
|
1451
|
+
step: "any"
|
1452
1452
|
}), readOnly === false && canClear && value && value.length > 0 ? /*#__PURE__*/React__default["default"].createElement(Icon, {
|
1453
1453
|
icon: "close",
|
1454
1454
|
clickable: true,
|
@@ -7472,8 +7472,13 @@ var CollectionContext$1 = function CollectionContext(url, field, host, page, fet
|
|
7472
7472
|
|
7473
7473
|
var _temp12 = _catch$4(function () {
|
7474
7474
|
if (versioning) form.version = 1;
|
7475
|
-
return Promise.resolve(API.create(form)).then(function () {
|
7476
|
-
return Promise.resolve(_this8.load()).then(function () {
|
7475
|
+
return Promise.resolve(API.create(form)).then(function (response) {
|
7476
|
+
return Promise.resolve(_this8.load()).then(function () {
|
7477
|
+
if (response) {
|
7478
|
+
var id = response.id;
|
7479
|
+
if (id) _this8.select(id);
|
7480
|
+
}
|
7481
|
+
});
|
7477
7482
|
});
|
7478
7483
|
}, function (error) {
|
7479
7484
|
console.log(error);
|