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
What to do in following case:
Select::make(__('Status'), 'status')->options(function () { return [ 'to_schedule' => '' . __('To Schedule') . '', 'quote_todo' => '' . __('Quote Todo') . '', ]; }) ->rules('required'), NovaBelongsToDepend::make(__('Responsible') . ' 1', 'responsible_one', Employee::class) ->placeholder(__('Select') . ' ' . __('Responsible') . ' 1') ->options( \App\Models\Employee::all() )->optionsResolve(function ($status) { if ($status == 'quote_todo') { //some code } }) ->dependsOn('status'),
In above example I have 1 normal select field and other model select field. My model data has to be filtered depending on status.
I'm getting internal error - "Class 'App\Nova\Status' not found"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What to do in following case:
In above example I have 1 normal select field and other model select field. My model data has to be filtered depending on status.
I'm getting internal error - "Class 'App\Nova\Status' not found"
The text was updated successfully, but these errors were encountered: