feat: implement fiscal ID validation; replace fiscal code validator and update related components

This commit is contained in:
2026-05-19 20:34:20 +03:30
parent c135e1a85f
commit 2e1ad77946
26 changed files with 108 additions and 76 deletions
@@ -66,6 +66,7 @@ export class InputComponent {
@Input() isLtrInput = false;
@Input() suffix: string = '';
@Input() maxLength?: number;
@Input() length?: number;
@Input() min?: number;
@Input() max?: number;
@Input() fixed?: number;
@@ -132,6 +133,8 @@ export class InputComponent {
}
get preparedMaxLength(): number | null {
const length = this.length || this.maxLength;
if (length) return length;
switch (this.type) {
case 'mobile':
return 11;