vanjs-jsf 0.0.14 → 0.0.15
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/VanJsfField.js +1 -4
- package/dist/VanJsfForm.js +1 -0
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/VanJsfField.js
CHANGED
|
@@ -69,10 +69,7 @@ export class VanJsfField extends VanJSComponent {
|
|
|
69
69
|
get codemirrorExtension() {
|
|
70
70
|
const theme = EditorView.theme({
|
|
71
71
|
'.cm-content, .cm-gutter': {
|
|
72
|
-
"min-height": "150px",
|
|
73
|
-
},
|
|
74
|
-
'.cm-content': {
|
|
75
|
-
"min-height": "150px",
|
|
72
|
+
minHeight: this.field["min-height"] && typeof this.field["min-height"] === "string" ? this.field["min-height"] : "150px",
|
|
76
73
|
},
|
|
77
74
|
'.cm-gutters': {
|
|
78
75
|
margin: '1px',
|
package/dist/VanJsfForm.js
CHANGED
|
@@ -64,6 +64,7 @@ class VanJsfForm {
|
|
|
64
64
|
console.log(value);
|
|
65
65
|
console.log(field.name);
|
|
66
66
|
this.formValues[field.name] = value;
|
|
67
|
+
this.config.formValues = this.formValues;
|
|
67
68
|
const { formErrors } = this.headlessForm.handleValidation(this.formValues);
|
|
68
69
|
let extraError = false;
|
|
69
70
|
console.log("formErrors", formErrors);
|