Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e8f6152

Browse files
committed
fix submit button issues
1 parent e387d76 commit e8f6152

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎full/schema.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,11 @@ module.exports = {
364364
console.log("Form submitted!", model);
365365
alert("Form submitted!");
366366
},
367-
styleClasses: "half-width"
367+
styleClasses: "half-width",
368+
disabled() {
369+
//console.log("Disabled: ", this.errors.length > 0);
370+
return this.errors.length > 0;
371+
}
368372
}, {
369373
type: "select",
370374
label: "Type (select field)",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /