From b0a85c4f404f6e519edbdaab164e83098a1e032c Mon Sep 17 00:00:00 2001 From: Rostislav Wolny Date: Thu, 9 Jan 2020 16:38:58 +0100 Subject: [PATCH] Fix values in custom field validation setting [MAILPOET-2463] --- .../form_editor/blocks/custom_text/custom_field_settings.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/src/form_editor/blocks/custom_text/custom_field_settings.jsx b/assets/js/src/form_editor/blocks/custom_text/custom_field_settings.jsx index 588ce70364..38e626a733 100644 --- a/assets/js/src/form_editor/blocks/custom_text/custom_field_settings.jsx +++ b/assets/js/src/form_editor/blocks/custom_text/custom_field_settings.jsx @@ -60,11 +60,11 @@ const CustomFieldSettings = ({ }, { label: MailPoet.I18n.t('customFieldValidateNumbersOnly'), - value: 'alphanum', + value: 'number', }, { label: MailPoet.I18n.t('customFieldValidateAlphanumerical'), - value: 'number', + value: 'alphanum', }, { label: MailPoet.I18n.t('customFieldValidatePhoneNumber'),