From a451d4ad949c4f63f2eeaf19a0a1e618102255dd Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Mon, 5 Sep 2022 12:34:38 -0500 Subject: [PATCH] Add submitOnBlur property to text fields --- src/components/fields/Text.vue | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/src/components/fields/Text.vue b/src/components/fields/Text.vue index e7f3ab5..99d1e0c 100644 --- a/src/components/fields/Text.vue +++ b/src/components/fields/Text.vue @@ -9,7 +9,7 @@ v-model="value" :placeholder="placeholder" :maxHeight="maxHeight" - @blur="submit" + @blur="blur" ref="field" /> @@ -28,26 +28,25 @@