1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

feat(render): field type and length on table header mouse hover

This commit is contained in:
2020-10-17 10:12:40 +02:00
parent 053418ee90
commit 04804b07c7
5 changed files with 29 additions and 6 deletions

View File

@ -248,7 +248,7 @@ export default {
},
fieldLength (field) {
if ([...BLOB, ...LONG_TEXT].includes(field.type)) return null;
return field.numPrecision || field.datePrecision || field.charLength || 0;
return field.numLength || field.datePrecision || field.charLength || 0;
},
inputProps (field) {
if ([...TEXT, ...LONG_TEXT].includes(field.type))