TWSD-1139 - VA name error of more than 12 char should be displayed while typing VA name of input field or before going to next page for selecting port.
Review Request #1376 — Created Feb. 10, 2026 and submitted
| Information | |
|---|---|
| shuinvy | |
| AVX2 | |
| rel_avx_2_7_6 | |
| TWSD-1139 | |
| Reviewers | |
| austin, lucille | |
Show warning message when VA name is exceed 12 characters
The Jira ticket(Reopened):
https://arraynetworks.atlassian.net/browse/TWSD-1139I removed original code that is only use attribute (minlength and maxlength) to prevent user input over 12 characters.
I changed the behavior for the VA Name field, it will show warning if user input over 12 characters, and the "Next" button will be disabled,
you can see attachment for reference.I removed
ng-verify="control:'addVAInstanceForm'"it will only prevent some cases based onverify.directive.js,
and it is customized directive previous engineers was written, and the usage cannot fit our requiremnt.
Thus,
I use AngularJS originall verification.
First,
I addedng-maxlength="12"and warning message(I see other pages for reference).
Then I addedrequiredto all needed fields.
Lastly, I useng-disabled="addVAInstanceForm.$invalid"instead ofng-verify="control:'addVAInstanceForm'".
