im using Voyager Laravel to build my app, but im having some issues regarding the form fields, in my Bread column of "transmission" i have included in the json form this:
column transmission:
{
"options": {
"option1": "Automática",
"option2": "Manual"
}
}
In the admin is displaying well the information, the problem is when i call it in the frontend for example:
$car->transmission -> outputs -> "option1"
Im trying to find in the documentation regarding calling only the text/label of the option1 that is correct, but no information im finding.
Anybody the uses Voyager had the same issue?
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2og0RlW
via IFTTT
Aucun commentaire:
Enregistrer un commentaire