So currently I'm using Laravel nova to create like a dashboard where you see all the necessary without having the needs to click on the detail page. Currently the data that I would like to show is a shipping address. With computed you can get multiply values on one field, now I would like to add a breakline so that you have something like the following
John Doe Street 34 City ..
How to achieve this, without having to break all the security implemented by the Nova stuff..
Computed function
Text::make('Shipping address', function () {
return 'firstname <br> lastname';
})
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire