HelperText with a link

Hi, I want to convert the HelperText of an input into a link. Is that posible? TextInput::make('name')->helperText('Link')
2 Replies
Hugo
Hugo2y ago
You can pass an HTML tag :
->helperText(new HtmlString('<a href="https://www.societe.com/" target="_blank">Vérifier le nom de l\'établissement</a>'))
->helperText(new HtmlString('<a href="https://www.societe.com/" target="_blank">Vérifier le nom de l\'établissement</a>'))
jals65
jals65OP2y ago
Ok, thanks @hugomyb

Did you find this page helpful?