Closed GhostyJade closed 2 years ago
@GhostyJade I have made the changes. Let me know if these looks good for you.
The label placement is right, the only suggestion I have is to apply more padding to left to the start adornment, and then it'll look perfect Thanks for your time
I have added a little padding. You can override the styles if you want more sophisticated styles.
I will try to refactor this component according to the material-ui API. But it will take a long time to do that.
Thanks so much, when you'll publish on npm I'll test it on our project and I'll give you feedback again
Already published a new version
It works, thanks again! c:
Hi After some testing with the new package version, I've found that there are some issues with the label. (I'm using a TextField with the "filled" variant) If i pass directly the label or the specialLabel prop to the component, it's rendered outside the component, If i pass undefined to the same props, it uses "Phone" as the localization string and it's rendered outside, If i pass the label into the inputProps object, the label is correctly rendered in the TextField but another label is added outside (see the attached image)
If u need more info or a CodeSandbox example I'm there Thanks in advance