cms
cms copied to clipboard
Allow control over input options in `BaseTextConditionRule`
Description
PR adds the inputOptions()
method to allow the control over the options passed to Cp::textHtml()
method. As an example, shown in this PR, the number condition rule can now easily pass the step
attribute without having to override the inputHtml()
method.
In this situation it could in theory be possible to remove the inputType()
method, but as it already exists we need to leave it. Possibly could be deprecated in favour of this new method?