@if (getParamInfo(key); as paramInfo) {
@switch (paramInfo.type) {
@case ('boolean') {
}
@case ('number') {
@if (!paramInfo.options) {
} @else {
}
123
}
@case ('integer') {
@if (!paramInfo.options) {
} @else {
}
123
}
@case ('string') {
@if (!paramInfo.options) {
} @else {
}
abc
}
@case ('array') {
data_array
}
@case ('object') {
data_object
}
@default {
}
}
@if (paramInfo.hint) {
help_outline
}
@if (!paramsFormInfo.formGroup.controls[key].valid) {
{{ paramsFormInfo.formGroup.controls[key].errors | json }}
}
}