From eb0ae74ef8e0eac99a40db36aa01dee5ea81b2cb Mon Sep 17 00:00:00 2001 From: Ivan Nieto Vivanco Date: Thu, 1 Apr 2021 19:23:05 -0600 Subject: [PATCH] Fixes typo that doesn't accepts 'textarea' as custom field type element. (#9387) --- app/Models/CustomField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/CustomField.php b/app/Models/CustomField.php index c14435660..724a323f4 100644 --- a/app/Models/CustomField.php +++ b/app/Models/CustomField.php @@ -359,7 +359,7 @@ class CustomField extends Model "name" => "required|unique:custom_fields", "element" => [ "required", - Rule::in(['text', 'listbox', 'textara', 'checkbox', 'radio']) + Rule::in(['text', 'listbox', 'textarea', 'checkbox', 'radio']) ], 'format' => [ Rule::in(array_merge(array_keys(CustomField::PREDEFINED_FORMATS), CustomField::PREDEFINED_FORMATS))