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
LeandroFerreira6mo ago
what is the goal?
Rinkesh
RinkeshOP6mo ago
I want to apply regex on phone globally
LeandroFerreira
LeandroFerreira6mo ago
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