[The Placeholder field is responsible for Label, but placeholder of input is expected][<MazPhoneNumberInput>]
Veronika-dev opened this issue · 1 comments
Veronika-dev commented
Hi, I use MazPhoneNumberInput
and I need a placeholder of input. However, floating label is shown instead of placeholder.
To Reproduce
Steps to reproduce the behavior:
- Fill a
placeholder
property of MazPhoneNumberInput.
<MazPhoneNumberInput
placeholder="Placeholder text"
...
/>
- Or you can use
<MazPhoneNumberInput
:translations="{
phoneInput: {
placeholder: "Placeholder text"
}
}"
...
/>
- You will get a floating label (see the screenshot)
Screenshots
Expected behavior
I expected placeholder of the input. But I got a floating label.
Desktop
- OS: MacOS 14.4.1
- Browser Chrome
- Version 124.0.6367.119
LouisMazel commented