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?
image.png
Was this page helpful?