Autocomplete-Select input box does not display in FormBuilder
Overview
In trying to review PR 26841, I came across a different issue; the input box- let alone the values to be selected- for Autocomplete-Select custom fields do not display within the FormBuilder editor nor on the afform itself.
Reproduction steps
- Create or edit an existing custom field to have a data type of Autocomplete-Select
- Create a FormBuilder form with that custom field
- Only the title of the custom field is displayed
- Click on the gear of the custom field and you'll notice that the Type field appears empty, as the first option is blank
Current behaviour
Only the title of the Autocomplete-Select custom field displays when that field is added to an afform.
While you can use a work around for the custom field by changing the Type mentioned in the last reproduction step, that defeats the purpose of having the custom field be an Autocomplete-Select.
Expected behaviour
An input box that allows for typing/selection should display when an Autocomplete-Select custom field is added to an afform.
Environment information
Tested on CiviCRM 5.63.2, 5.64.0, and 5.66.alpha1,