TextInput link

Is it possible to make the TextInput redirect to a url on click?
6 Replies
Patrick Boivin
I'm curious, do you really need a TextInput if it's never going to be used to input text?
Thijmen
ThijmenOP2y ago
Well what do you suggest? I like te look of the TextInput and it would not look nice if i change that to a Placeholder for example.
Yeraldi29#2900
Don't you like an action istead? but is possible what you want But is a little strange because is an input
Patrick Boivin
One option would be to reuse the classes of the TextInput in a custom ViewField and render an <a> instead An action is a good idea also, check #drop-in-action
Thijmen
ThijmenOP2y ago
Yeah i know but i have 20 textinput so missing one looks weird Tried that but can't redirect to a new window with laravel
Patrick Boivin
Yeah, so you need an <a>
Want results from more Discord servers?
Add your server