Skip to content

Commit f70e455

Browse files
committed
fix: trim leading and trailing whitespace in output fields
Closes #15 Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
1 parent b91a8d0 commit f70e455

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/fields/TextInput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<NcRichContenteditable
1313
:id="id"
1414
ref="input"
15-
:model-value="value ?? ''"
15+
:model-value="isOutput ? formattedValue : (value ?? '')"
1616
:link-autocomplete="false"
1717
:multiline="isMobile"
1818
:maxlength="maxLength"

0 commit comments

Comments
 (0)