eservices-core 1.0.463 → 1.0.465
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.js +1 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* eservices-core v1.0.
|
|
2
|
+
* eservices-core v1.0.465
|
|
3
3
|
* (c) 2022 ESERVICES
|
|
4
4
|
*/
|
|
5
5
|
'use strict';
|
|
@@ -5096,13 +5096,9 @@ function useFormMetadata(form, rules, id) {
|
|
|
5096
5096
|
return;
|
|
5097
5097
|
metadataService.get(form.name, rules, id)
|
|
5098
5098
|
.then(res => {
|
|
5099
|
-
console.group('Disabled elements');
|
|
5100
5099
|
res.fields.forEach(field => {
|
|
5101
5100
|
field.canSet ? form.enable(field.name) : form.disable(field.name);
|
|
5102
|
-
if (!field.canSet)
|
|
5103
|
-
console.log(field.name);
|
|
5104
5101
|
});
|
|
5105
|
-
console.groupEnd();
|
|
5106
5102
|
})
|
|
5107
5103
|
.catch(() => {
|
|
5108
5104
|
NotificationSystem.add('error', `Can't read form's metadata.`);
|
|
@@ -5343,7 +5339,6 @@ function useFormRequest(form, formParams) {
|
|
|
5343
5339
|
}
|
|
5344
5340
|
form.read = () => {
|
|
5345
5341
|
let params = formParams();
|
|
5346
|
-
shadowFormState.ready = false;
|
|
5347
5342
|
return Promise.resolve()
|
|
5348
5343
|
.then(() => {
|
|
5349
5344
|
if (!form.name)
|