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
Nova 4.17.1
My code: SimpleRepeatable::make(__('app.links_column'), 'json_content', [ Text::make(__('app.item_name'), 'name'), Text::make(__('app.link'), 'link'), Boolean::make(__('app.is_column_heading'), 'is_heading'), ]) ->dependsOn('type', function (SimpleRepeatable $field, NovaRequest $request, FormData $formData) { if (! \App\Models\Card::display_links_array_fields($formData->type)) { $field->hide(); } }),
SimpleRepeatable::make(__('app.links_column'), 'json_content', [ Text::make(__('app.item_name'), 'name'), Text::make(__('app.link'), 'link'), Boolean::make(__('app.is_column_heading'), 'is_heading'), ]) ->dependsOn('type', function (SimpleRepeatable $field, NovaRequest $request, FormData $formData) { if (! \App\Models\Card::display_links_array_fields($formData->type)) { $field->hide(); } }),
Error mesage: Method Laravel\Nova\Http\Controllers\CreationFieldController::sync does not exist.
When I removed DependOn, field is working
The text was updated successfully, but these errors were encountered:
Actually I am getting the same error, when I try to replicate resource. On standard edit, it's OK
Sorry, something went wrong.
No branches or pull requests
Nova 4.17.1
My code:
SimpleRepeatable::make(__('app.links_column'), 'json_content', [ Text::make(__('app.item_name'), 'name'), Text::make(__('app.link'), 'link'), Boolean::make(__('app.is_column_heading'), 'is_heading'), ]) ->dependsOn('type', function (SimpleRepeatable $field, NovaRequest $request, FormData $formData) { if (! \App\Models\Card::display_links_array_fields($formData->type)) { $field->hide(); } }),
Error mesage: Method Laravel\Nova\Http\Controllers\CreationFieldController::sync does not exist.
When I removed DependOn, field is working
The text was updated successfully, but these errors were encountered: