Lwm2m: front add validator json for security config value delete debug
This commit is contained in:
parent
ce0db8a6ea
commit
e0591bc6d0
@ -286,7 +286,6 @@ export class DeviceCredentialsComponent implements ControlValueAccessor, OnInit,
|
|||||||
|
|
||||||
private jsonValidator(control: FormControl) {
|
private jsonValidator(control: FormControl) {
|
||||||
try {
|
try {
|
||||||
debugger;
|
|
||||||
JSON.parse(control.value);
|
JSON.parse(control.value);
|
||||||
return null
|
return null
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user