Drop-down (select-list) fields don't render if "Options per line" is set
Overview
Drop-down custom fields are not displayed if "Options per line" is set, even if the setting is hidden.
Reproduction steps
- Create a "Radio buttons" Custom Field.
- Set "Options per line" to any value besides 0
- Change the Field Input Type to "Drop-down (select list)"
- Save
Current behaviour
The Drop-down field is not rendered at all, in previews or on front end.
Expected behaviour
The Drop-down field should ignore any previously set values for "Options per line"
Environment information
- CiviCRM: 5.46.3
- PHP: 7.4.27
- CMS: _WordPress 6.0.1
- Database: 10.3.34-MariaDB-0+deb10u1
- Web Server: Apache/2.4.38 (Debian)