Skip to content
Snippets Groups Projects
Commit 3a430974 authored by ayduns's avatar ayduns
Browse files

Fixes #3475 - Allow 'yesno' as a valid value of `html_type`I

parent 45e22376
Branches
Tags
No related merge requests found
......@@ -312,6 +312,7 @@ trait CRM_Admin_Form_SettingTrait {
'entity_reference' => 'EntityRef',
'advmultiselect' => 'Element',
'chainselect' => 'ChainSelect',
'yesno' => 'YesNo',
];
$mapping += array_fill_keys(CRM_Core_Form::$html5Types, '');
return $mapping[$htmlType] ?? '';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment