From d38681279a3b8bde36d38cdc069678c66689a4de Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 18 Nov 2022 11:42:45 -0700 Subject: [PATCH] Fix et2-number did not validate --- api/src/Etemplate/Widget/Textbox.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/Etemplate/Widget/Textbox.php b/api/src/Etemplate/Widget/Textbox.php index 26a32a3897..cf2f2af24e 100644 --- a/api/src/Etemplate/Widget/Textbox.php +++ b/api/src/Etemplate/Widget/Textbox.php @@ -180,5 +180,5 @@ class Textbox extends Etemplate\Widget } } Etemplate\Widget::registerWidget(__NAMESPACE__ . '\\Textbox', array('et2-textarea', 'et2-textbox', 'textbox', 'text', - 'int', 'integer', 'float', 'hidden', 'colorpicker', - 'hidden')); + 'int', 'integer', 'float', 'et2-number', 'hidden', + 'colorpicker'));