From 24202531fe13cf4fdaa692f9f2b3e0906055f3ed Mon Sep 17 00:00:00 2001 From: Nicola Krumschmidt Date: Thu, 15 Apr 2021 00:33:27 +0200 Subject: [PATCH] Rename the nullable text input interface option (#5057) * Rename the nullable text input interface option * Update app/src/lang/translations/en-US.yaml * Update app/src/lang/translations/en-US.yaml Co-authored-by: Rijk van Zanten --- app/src/interfaces/text-input/index.ts | 8 ++++---- app/src/interfaces/text-input/text-input.vue | 6 +++--- app/src/lang/translations/en-US.yaml | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/src/interfaces/text-input/index.ts b/app/src/interfaces/text-input/index.ts index ab50a46597..6eb664acfb 100644 --- a/app/src/interfaces/text-input/index.ts +++ b/app/src/interfaces/text-input/index.ts @@ -88,18 +88,18 @@ export default defineInterface({ }, }, { - field: 'nullable', - name: '$t:interfaces.text-input.nullable', + field: 'clear', + name: '$t:interfaces.text-input.clear', type: 'boolean', meta: { width: 'half', interface: 'toggle', options: { - label: '$t:interfaces.text-input.nullable_label', + label: '$t:interfaces.text-input.clear_label', }, }, schema: { - default_value: true, + default_value: false, }, }, ], diff --git a/app/src/interfaces/text-input/text-input.vue b/app/src/interfaces/text-input/text-input.vue index 0ae157cef5..aa72cbdd8e 100644 --- a/app/src/interfaces/text-input/text-input.vue +++ b/app/src/interfaces/text-input/text-input.vue @@ -1,7 +1,7 @@