vanjs-jsf 0.0.13 → 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.
@@ -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',
@@ -227,6 +224,7 @@ export class VanJsfField extends VanJSComponent {
227
224
  if (CronComponent) {
228
225
  ele = new CronComponent() || null;
229
226
  ele.setAttribute("color", "d58512");
227
+ ele.setAttribute("extraClass", this.class ? this.class : "");
230
228
  ele.setAttribute("value", this.iniVal.toString());
231
229
  ele.oninput = (e) => this.handleChange(this, e.detail.value);
232
230
  }
@@ -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);