dlg-ui 1.0.30 → 1.0.31
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.
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
<form>
|
|
3
3
|
{{yield (hash Field=(component "form/field" addValidator=this.addValidator didValidate=this.didValidate errors=this.errors validate=this.validate))}}
|
|
4
4
|
</form>
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
{{#unless @hideSubmit}}
|
|
6
|
+
<ButtonPrimary @onClick={{this.submitForm}}>
|
|
7
|
+
Submit
|
|
8
|
+
</ButtonPrimary>
|
|
9
|
+
{{/unless}}
|
|
8
10
|
</div>
|
|
@@ -9,7 +9,7 @@ export default class TextInputComponent extends Component {
|
|
|
9
9
|
|
|
10
10
|
get value() {
|
|
11
11
|
const value = get(this.args.model, this.args.valuePath);
|
|
12
|
-
return value !== undefined ? value :
|
|
12
|
+
return value !== undefined ? value : null;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
set value(newValue) {
|