Bug #1417: Add UI validation to prevent empty codes
FEA: ItEr76S04BugFixing
This commit is contained in:
parent
75f4da9e89
commit
212d2490d4
1 changed files with 3 additions and 2 deletions
|
|
@ -66,7 +66,8 @@
|
|||
<row>
|
||||
<label value="${i18n:_('Code')}" />
|
||||
<hbox>
|
||||
<textbox value="@{templatesForOrdersController.template.code}" width="250px" />
|
||||
<textbox value="@{templatesForOrdersController.template.code}" width="250px"
|
||||
constraint="no empty:${i18n:_('cannot be null or empty')}" />
|
||||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
|
|
@ -128,4 +129,4 @@
|
|||
<button label="${i18n:_('Cancel')}" onClick="templatesForOrdersController.cancel()"
|
||||
sclass="cancel-button global-action" />
|
||||
</hbox>
|
||||
</window>
|
||||
</window>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue