mirror of
https://github.com/documenso/documenso.git
synced 2025-11-23 05:01:54 +10:00
fix: temp field label/text truncation (#1565)
TEMP: Fix the truncation of the field label/text.
This commit is contained in:
@ -234,8 +234,8 @@ export const NumberField = ({ field, onSignField, onUnsignField }: NumberFieldPr
|
||||
|
||||
if (parsedFieldMeta?.label) {
|
||||
fieldDisplayName =
|
||||
parsedFieldMeta.label.length > 10
|
||||
? parsedFieldMeta.label.substring(0, 10) + '...'
|
||||
parsedFieldMeta.label.length > 20
|
||||
? parsedFieldMeta.label.substring(0, 20) + '...'
|
||||
: parsedFieldMeta.label;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user