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
Bug: The withoutTrashed() option is ignored inside a nested form
From inside the nested form, it always shows the "With trashed" option
But from the default create resource screen, the "With trashed" option is now shown.
In my Recipe Nova resource I have
Recipe
NestedForm::make('Medications', 'items', 'App\Nova\RecipeItem')
And then in my App\Nova\RecipeItem Resource:
App\Nova\RecipeItem
public function fields(Request $request) { return [ ID::make()->hideFromDetail()->hideFromIndex(), BelongsTo::make('Recipe', 'recipe', 'App\Nova\Recipe'), BelongsTo::make('Medication', 'medication', 'App\Nova\Medication') ->searchable() ->withoutTrashed(), Text::make('Notes'), ]; }
It is a front end problem as I see. Not something related to the backend. The information of the field is transferred correctly.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug: The withoutTrashed() option is ignored inside a nested form
From inside the nested form, it always shows the "With trashed" option
But from the default create resource screen, the "With trashed" option is now shown.
In my
Recipe
Nova resource I haveAnd then in my
App\Nova\RecipeItem
Resource:It is a front end problem as I see. Not something related to the backend. The information of the field is transferred correctly.
The text was updated successfully, but these errors were encountered: