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?
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()