diff --git a/ui-ngx/src/app/modules/home/components/device/device-credentials-mqtt-basic.component.ts b/ui-ngx/src/app/modules/home/components/device/device-credentials-mqtt-basic.component.ts index 7ea3d93d91..ab28b91c69 100644 --- a/ui-ngx/src/app/modules/home/components/device/device-credentials-mqtt-basic.component.ts +++ b/ui-ngx/src/app/modules/home/components/device/device-credentials-mqtt-basic.component.ts @@ -59,7 +59,7 @@ export class DeviceCredentialsMqttBasicComponent implements ControlValueAccessor constructor(public fb: FormBuilder) { this.deviceCredentialsMqttFormGroup = this.fb.group({ - clientId: [null, [Validators.pattern(/^[A-Za-z0-9]+$/)]], + clientId: [null], userName: [null], password: [null] }, {validators: this.atLeastOne(Validators.required, ['clientId', 'userName'])});