WEB-760 Validation and error message improvements for Add Column dialog

This commit is contained in:
JaySoni1
2026-02-20 03:24:38 +05:30
parent 2d17b3c17c
commit c787229a3f
2 changed files with 17 additions and 1 deletions
@@ -76,7 +76,10 @@ export class ColumnDialogComponent implements OnInit {
value: this.data ? +this.data.columnLength : '',
disabled: this.getColumnType(this.data.columnDisplayType) !== 'String' || this.data.type === 'existing'
},
Validators.required
[
Validators.required,
Validators.min(1)
]
],
mandatory: [{ value: this.data.isColumnNullable, disabled: this.data.type === 'existing' }],
unique: [