Description
Is your feature request related to a problem? Please describe.
I would like to extend the FieldDropdown class to allow disabled options.
I was hoping to be able to simply override the dropdownCreate_
function, to parse new option parameters in content
as is done for image options, but it is currently very difficult to do so without copying most of the code as validateOptions
is not a member of the class, so it cannot be adapted to take new parameters into consideration when validating the options.
Describe the solution you'd like
Move validateOptions
to be a static function (possible private) of the FieldDropdown class.
Describe alternatives you've considered
The only alternative I can think of to achieve what I need at the moment is to copy the constructor and getOptions
of the class into the new class.
Additional context
None.