From 97b07e4690a9264838fccb4940581ab3ad9221de Mon Sep 17 00:00:00 2001 From: SebinSong Date: Tue, 29 Oct 2024 16:47:32 +1300 Subject: [PATCH] make sure non-monetary is not blank --- frontend/views/containers/contributions/NonMonetaryPledges.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/views/containers/contributions/NonMonetaryPledges.vue b/frontend/views/containers/contributions/NonMonetaryPledges.vue index 2af1a9192a..d7457da450 100644 --- a/frontend/views/containers/contributions/NonMonetaryPledges.vue +++ b/frontend/views/containers/contributions/NonMonetaryPledges.vue @@ -19,7 +19,7 @@ fieldset( .inputgroup input.input( type='text' - v-model='pledge.value' + v-model.trim='pledge.value' data-test='inputNonMonetaryPledge' :maxlength='config.maxChar' :aria-label='L("Pledge value")'