mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Fixes typo that doesn't accepts 'textarea' as custom field type element. (#9387)
This commit is contained in:
parent
6f4215cfac
commit
eb0ae74ef8
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue