Commit d12a276bbe684d2388e31a60ce8223f9edcc3d59
Committed by
GitHub
Merge pull request #5112 from vvlladd28/bug/mqtt-credentials/client-id
[3.3.1] UI: Added support for UTF-8 characters in MQTT credential Client ID
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -59,7 +59,7 @@ export class DeviceCredentialsMqttBasicComponent implements ControlValueAccessor | @@ -59,7 +59,7 @@ export class DeviceCredentialsMqttBasicComponent implements ControlValueAccessor | ||
59 | 59 | ||
60 | constructor(public fb: FormBuilder) { | 60 | constructor(public fb: FormBuilder) { |
61 | this.deviceCredentialsMqttFormGroup = this.fb.group({ | 61 | this.deviceCredentialsMqttFormGroup = this.fb.group({ |
62 | - clientId: [null, [Validators.pattern(/^[A-Za-z0-9]+$/)]], | 62 | + clientId: [null], |
63 | userName: [null], | 63 | userName: [null], |
64 | password: [null] | 64 | password: [null] |
65 | }, {validators: this.atLeastOne(Validators.required, ['clientId', 'userName'])}); | 65 | }, {validators: this.atLeastOne(Validators.required, ['clientId', 'userName'])}); |