From 1f1c911439f3387d02fe3d89eefa55c8a16126a4 Mon Sep 17 00:00:00 2001 From: OrbitalOwen <44505297+OrbitalOwen@users.noreply.github.com> Date: Wed, 11 Nov 2020 15:24:58 +0000 Subject: [PATCH] Add composer to valid text fields for min length option --- lib/custom_wizard/builder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/custom_wizard/builder.rb b/lib/custom_wizard/builder.rb index 66d2f5df..9ac4bb73 100644 --- a/lib/custom_wizard/builder.rb +++ b/lib/custom_wizard/builder.rb @@ -333,7 +333,7 @@ class CustomWizard::Builder end def is_text_type(field) - ['text', 'textarea'].include? field['type'] + ['text', 'textarea', 'composer'].include? field['type'] end def is_url_type(field)