Ignore case in Node name validation regexp

Closes-Bug: 1609917
Closes-Bug: 1632631
Change-Id: Ia298f9f99ce491ff5f963b0936db6ea97da06274
(cherry picked from commit 228aa2ab6a)
This commit is contained in:
Jiri Tomasek 2016-10-12 13:51:07 +02:00
parent a43e43ac70
commit 68e6cfcc90
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ export default class RegisterNodeForm extends React.Component {
};
this.macAddressValidatorMessage = 'Please enter a valid MAC Addresses';
this.nodeNameValidations = {
matchRegexp: /^[A-Z0-9-._~]+$/,
matchRegexp: /^[A-Z0-9-._~]+$/i,
maxLength: 255
};
this.nodeNameValidationErrors = {