cms icon indicating copy to clipboard operation
cms copied to clipboard

Allow control over input options in `BaseTextConditionRule`

Open nfourtythree opened this issue 2 years ago • 0 comments

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?

nfourtythree avatar Sep 15 '22 08:09 nfourtythree