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
3 Replies
LeandroFerreira
what is the goal?
Rinkesh
Rinkesh3w ago
I want to apply regex on phone globally
LeandroFerreira
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()
Want results from more Discord servers?
Add your server
More Posts