Skip to content

Commit 9ce6332

Browse files
committed
Merge pull request #799 from Yamagami-Takuma/show-error-messages
Fix issues that error massages of exceed max length are not shown
2 parents 393a406 + 4e277eb commit 9ce6332

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/app/frontend/deploy/createnamespace.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ <h4 class="md-title" >{{::ctrl.i18n.MSG_NAMESPACE_CREATE_DIALOG_TITLE}}</h4>
2929
required>
3030
<div ng-messages="ctrl.namespaceForm.namespace.$error">
3131
<div ng-message="pattern">{{::ctrl.i18n.MSG_NAMESPACE_NAME_PATTERN_WARNING}}</div>
32-
<div ng-message="maxlength">{{::ctrl.i18n.MSG_NAMESPACE_NAME_LENGTH_WARNING}}</div>
32+
<div ng-message="md-maxlength">{{::ctrl.i18n.MSG_NAMESPACE_NAME_LENGTH_WARNING}}</div>
3333
<div ng-message="required">{{::ctrl.i18n.MSG_NAMESPACE_NAME_REQUIRED_WARNING}}</div>
3434
</div>
3535
</md-input-container>

src/app/frontend/deploy/deployfromsettings.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<ng-message when="pattern">
3535
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_APP_NAME_PATTERN_WARNING}}
3636
</ng-message>
37-
<ng-message when="maxlength">
37+
<ng-message when="md-maxlength">
3838
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_APP_NAME_MAX_LENGTH_WARNING}}
3939
</ng-message>
4040
</ng-messages>

src/app/frontend/deploy/deploylabel.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<ng-message when="kdValidLabelValuePattern">
4545
{{::labelCtrl.i18n.MSG_DEPLOY_LABEL_VALUE_PATTERN_WARNING}}
4646
</ng-message>
47-
<ng-message when="maxlength">{{::labelCtrl.i18n.MSG_DEPLOY_LABEL_VALUE_MAX_LENGTH_WARNING}}</ng-message>
47+
<ng-message when="md-maxlength">{{::labelCtrl.i18n.MSG_DEPLOY_LABEL_VALUE_MAX_LENGTH_WARNING}}</ng-message>
4848
</ng-messages>
4949
</md-input-container>
5050
<md-button type="button" ng-show="labelCtrl.isRemovable()"

0 commit comments

Comments
 (0)