Skip to content

Commit 8624c14

Browse files
authored
Merge pull request #2725 from JaySoni1/WEB-369-it-must-not-be-possible-to-save-an-account-despite-unpopulated-required-fields
WEB-369 It must not be possible to save an Account despite unpopulated required fields
2 parents ca42576 + 69ef247 commit 8624c14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/accounting/chart-of-accounts/edit-gl-account/edit-gl-account.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
<button
9191
mat-raised-button
9292
color="primary"
93-
[disabled]="glAccountForm.pristine"
93+
[disabled]="glAccountForm.invalid || glAccountForm.pristine"
9494
*mifosxHasPermission="'UPDATE_GLACCOUNT'"
9595
>
9696
{{ 'labels.buttons.Submit' | translate }}

0 commit comments

Comments
 (0)