I came across an issue when customizing the filter options for an OWL and I want to share my findings with you.

I added an input field and set the property to “readOnly = true”. So the input field was greyed out, but I could still press the filter button and adjust the filter options.

Filter%20text%20greyed%20out

Filter text greyed out

Filter%20option%20still%20available

Filter option still available

In my opinion this behaviour doesn’t make any sense, as I don’t need filter options for a read-only input field. So I was looking for a possibility to set the filter button to read-only as well and I found a property to show or hide the filter button.

Adjust%20property%20ShowSelectOption

Adjust property ShowSelectOption

By default the property ShowSelectOption is set to true. After setting the property to false the filter button is hidden.

Filter%20button%20hidden

Filter button hidden

I know this is a very rare use case but I hope this article can help someone with the same issue.

Please feel free to leave some feedback.

Sara Sampaio

Sara Sampaio

Author Since: March 10, 2022

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x