@if(label) {
@if(labelActions && labelActions.length > 0) {
{{label}}
@for(action of labelActions; track action.id) {
@if (!action.showBelow) {
}
}
@if(descriptionTooltip) {
}
} @else {
{{label}}
@if(descriptionTooltip) {
}
}
}
@if(affixes && affixes.suffix) {
@if(affixes.suffix.iconSuffix || affixes.suffix.imgSuffix) {
} @else if(affixes.suffix.textSuffix) {
{{affixes.suffix.textSuffix}}
}
}
@if(affixes && affixes.prefix) {
@if(affixes.prefix.iconPrefix || affixes.prefix.imgPreffix) {
} @else if(affixes.prefix.textPrefix) {
{{affixes.prefix.textPrefix}}
}
}
@if (control?.hasError('email') && !control?.hasError('required')) {
El email no es válido
}
@if (control?.hasError('required')) {
{{label ? label: 'Este campo'}} es requerido
}
@if (control?.hasError('minlength')) {
El mínimo permitido son {{minlength}} caracteres
}
@if (control?.hasError('errorCommons')) {
{{messageErrorCustom}}
}
@if (control?.hasError('maxlength')) {
El máximo permitido son {{maxlength}} caracteres
}
@if(labelActions && labelActions.length > 0 && !control?.errors) {
@for(action of labelActions; track action.id) {
@if(action.showBelow) {
@if(action.text) {
{{action.text}}
}
}
}
}