not-bulma 1.0.34 → 1.0.35
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/package.json
CHANGED
|
@@ -97,12 +97,11 @@ class notForm extends notBase {
|
|
|
97
97
|
|
|
98
98
|
initUI() {
|
|
99
99
|
try {
|
|
100
|
-
const propsInjection = this.getFormInjectedProps();
|
|
101
100
|
const props = this.#getFormProps({
|
|
102
101
|
manifest: this.getFormManifest(),
|
|
103
102
|
formOptions: this.getFormOptions(),
|
|
104
103
|
data: this.getFormData(),
|
|
105
|
-
|
|
104
|
+
injectedProps: this.getFormInjectedProps(),
|
|
106
105
|
});
|
|
107
106
|
const target = this.getFormTargetEl();
|
|
108
107
|
while (target.children.length)
|
|
@@ -124,6 +123,7 @@ class notForm extends notBase {
|
|
|
124
123
|
manifest: this.getFormManifest(),
|
|
125
124
|
formOptions: this.getFormOptions(),
|
|
126
125
|
data: this.getFormData(),
|
|
126
|
+
injectedProps: this.getFormInjectedProps(),
|
|
127
127
|
});
|
|
128
128
|
this.#form.$set(props);
|
|
129
129
|
this.validateForm();
|
|
@@ -207,6 +207,7 @@ class notForm extends notBase {
|
|
|
207
207
|
fields: {},
|
|
208
208
|
}, //some options
|
|
209
209
|
data = null, //initial data for form
|
|
210
|
+
injectedProps = {},
|
|
210
211
|
}) {
|
|
211
212
|
const action = this.#action;
|
|
212
213
|
if (typeof formOptions === "undefined" || formOptions === null) {
|
|
@@ -246,6 +247,7 @@ class notForm extends notBase {
|
|
|
246
247
|
form,
|
|
247
248
|
//injecting options to UI from top level input
|
|
248
249
|
...formOptions.ui, //form UI options
|
|
250
|
+
...injectedProps,
|
|
249
251
|
};
|
|
250
252
|
}
|
|
251
253
|
|