material icon indicating copy to clipboard operation
material copied to clipboard

md-autocomplete placeholder versus md-floating-label

Open jlmagee opened this issue 11 years ago • 2 comments

Is it acceptable to use either placeholder or md-floating-label in md-autocomplete or is there a preference for one or the other? Please advise.

jlmagee avatar Jun 30 '15 15:06 jlmagee

It depends on which visual treatment you are going for. If it is being used as a form field within another form, floating label would be preferred; however, if it is a standalone item, you probably want placeholder.

robertmesserle avatar Jul 06 '15 21:07 robertmesserle

Is there a possibility to use both and choose one of them depending on a attribute? something like, use -placeholder-as-lable

tom94zoe avatar Jun 07 '16 10:06 tom94zoe