jakezatecky/react-dual-listbox

Add type="search" to the Filter

Closed this issue · 1 comments

Would it be possible to add option to specify the type of the Filter component?

Here is by default the type="text", but I would need to use the type="search" (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search), mainly for the "✖️" icon for clearing the input.

https://github.com/jakezatecky/react-dual-listbox/blob/master/src/js/components/Filter.jsx#L38

Thank you! Changed for the future v6 release.