gdotdesign/elm-ui

Have a clear button on text/search fields

iqualfragile opened this issue · 3 comments

at least optionally, maybe depending on user os.
its really comfortable to have those if you are using an os where you can select-and-middle-mouse-button to copy and paste.

It has been added thanks to (eimfach) and will be available in the next release.

Usage:

input = Ui.Input.init "value" "placeholder"
inputWithClear = { input | showClearIcon = True }

Available in 0.4.3

thanks for the work @eimfach & @gdotdesign