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
I want to hide the field based on another field's value, not possible -> DependsOn does not exist
Heroicon::make(__('app.icon'), 'icon') ->disableEditor() ->dependsOn('type', function (Heroicon $field, NovaRequest $request, FormData $formData) { if (! \App\Models\Card::display_icon_fields($formData->type)) { $field->hide(); } })
The text was updated successfully, but these errors were encountered:
Thx for feedback, will take a look.
Sorry, something went wrong.
@AlexAzartsev Hello, nice package. Any updates regarding dependsOn method?
dependsOn
thx, i'm planning to go through issues in October, will take a look at this as well.
No branches or pull requests
I want to hide the field based on another field's value, not possible -> DependsOn does not exist
Heroicon::make(__('app.icon'), 'icon') ->disableEditor() ->dependsOn('type', function (Heroicon $field, NovaRequest $request, FormData $formData) { if (! \App\Models\Card::display_icon_fields($formData->type)) { $field->hide(); } })
The text was updated successfully, but these errors were encountered: