I would to have an clear button visible when entering md-input of type search. Button should be displayed to the right and within search field itself
Have you taken a look at mdAutocomplete? @robertmesserle I wonder if the input
in autocomplete should have type="search"
.
@marcysutton for <md-autocomplete>
adding a type="search"
seems like a good idea.
Totally agreed. Will make that change.
On Wed, May 13, 2015 at 11:22 AM, Thomas Burleson [email protected]
wrote:
@marcysutton https://github.com/marcysutton for
adding a type="search" seems like a good idea.—
Reply to this email directly or view it on GitHub
https://github.com/angular/material/issues/2802#issuecomment-101766662.
Closing as duplicate of https://github.com/angular/material/issues/2699.
I have a directive that could hep
I tried using the autocomplete component and it does display the "clear" button. However, I want to have "md-input" styling rather than the autocomplete styling without the floating label. I think there should be an attribute added to determine if the clear icon should be displayed for md-input components.
Most helpful comment
I tried using the autocomplete component and it does display the "clear" button. However, I want to have "md-input" styling rather than the autocomplete styling without the floating label. I think there should be an attribute added to determine if the clear icon should be displayed for md-input components.