We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BelongsTo::make('University', 'university', 'App\Nova\University'), BelongsToManyField::make('University Campus', 'UniversityCourse', Campus::class) ->dependsOn('university', 'university_id') ->optionsLabel('name_en') ->setMultiselectProps([ 'selectLabel' => 'click for select', 'closeOnSelect' => false, ]) ->canSelectAll('Select All'),
After select the university, response like this
The result in university campuses like this
How can I return the name_en instead of ids?
The text was updated successfully, but these errors were encountered:
I solve the problem by adding a name to $title in resource
Sorry, something went wrong.
No branches or pull requests
BelongsTo::make('University', 'university', 'App\Nova\University'),
BelongsToManyField::make('University Campus', 'UniversityCourse', Campus::class)
->dependsOn('university', 'university_id')
->optionsLabel('name_en')
->setMultiselectProps([
'selectLabel' => 'click for select',
'closeOnSelect' => false,
])
->canSelectAll('Select All'),
The result in university campuses like this
How can I return the name_en instead of ids?
The text was updated successfully, but these errors were encountered: