swordev / suid

A port of Material-UI (MUI) built with SolidJS.
https://suid.io
MIT License
660 stars 47 forks source link

FormControl using incorrect variant? #269

Open lighth7015 opened 9 months ago

lighth7015 commented 9 months ago

Good morning!

I'm working on a phone number validation TextField, however I've noticed that the TextField component doesn't work with @solid-primitives/input-mask, forcing me to roll my own using the FormGroup, Input and InputLabel controls to achieve the desired behavior; however, in doing this- I lose the ability to pass the variant prop through my control to the FormGroup, as the FormGroup seems to only use the default variant, which is weird.

I have a copy of my control hosted here, for reference.

Any assistance in fixing this would be greatly appreciated!

Thank you in advance!