Fixed motion form to save form with default text (Fixes #2069).
Use workaround: Added 'novalidate' to motion form. Otherwise user can't save form if text editor field contains default value.
This commit is contained in:
parent
4b0594a83b
commit
d1458dcca1
@ -6,7 +6,7 @@
|
|||||||
{{ alert.msg }}
|
{{ alert.msg }}
|
||||||
</uib-alert>
|
</uib-alert>
|
||||||
|
|
||||||
<form name="motionForm" ng-submit="save(model)">
|
<form name="motionForm" ng-submit="save(model)" novalidate>
|
||||||
<formly-form model="model" fields="formFields">
|
<formly-form model="model" fields="formFields">
|
||||||
<button type="submit" ng-disabled="motionForm.$invalid" class="btn btn-primary" translate>
|
<button type="submit" ng-disabled="motionForm.$invalid" class="btn btn-primary" translate>
|
||||||
Save
|
Save
|
||||||
|
Loading…
Reference in New Issue
Block a user