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!
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 theFormGroup
,Input
andInputLabel
controls to achieve the desired behavior; however, in doing this- I lose the ability to pass thevariant
prop through my control to theFormGroup
, as theFormGroup
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!