components icon indicating copy to clipboard operation
components copied to clipboard

matInput placeholder position with prefix doesn't align with the input field

Open dhuallanca opened this issue 8 years ago • 3 comments

Bug, feature request, or proposal:

Bug

What is the expected behavior?

placeholder should be aligned with the input field

What is the current behavior?

placeholder is displayed after the prefix

What are the steps to reproduce?

https://stackblitz.com/edit/angular-jgpuyq?file=app/form-field-prefix-suffix-example.html

What is the use-case or motivation for changing an existing behavior?

UI design

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

@angular/material: "^5.1.0", @angular/core: "^5.2.1",

Chrome

Is there anything else we should know?

dhuallanca avatar Feb 02 '18 13:02 dhuallanca

It should work like material design guidelines:

https://material.io/guidelines/components/text-fields.html#text-fields-field-types

image

dhuallanca avatar Feb 05 '18 16:02 dhuallanca

this should be done via a text mask in the future, #7645 is tracking the issue

mmalerba avatar Feb 16 '18 19:02 mmalerba

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.