I Want to get type of input whether textinput is email or tel.
I Want to get type of input whether textinput is email or tel using this code in my provider. But it returns text always. I have many field for tel() and email(). How can I get right text type?
![No description](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1252632358306185289/image.png)
3 Replies
what is the goal?
I want to apply regex on phone globally
hum, I believe
configureUsing
sets your field based on the initial configuration you define, not access params in the boot method, except for the field name.
Maybe you could create a macro and use in the field as ->applyRegex()