Skip to content
Snippets Groups Projects
Unverified Commit ceac0460 authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #23525 from aydun/yesno

Fixes #3475 - Allow 'yesno' as a valid value of `html_type`
parents e9eb60f2 3a430974
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