Open OverBurt opened 1 year ago
When add NovaGridSystem in NovaServiceProvider it breaks the ->hide() function in Fields on Form view:
NovaGridSystem
NovaServiceProvider
->hide()
Fields
public function tools() { return [ new NovaGridSystem, ]; }
Date::make(__('nova-control-panel.field.date_from'), 'date_from') ->sortable() ->rules([ 'required' ])->dependsOn( ['type'], function (Date $field, NovaRequest $request, FormData $formData) { if ($formData->type === null ) { $field->hide(); } } ),
Even if type is null field "date_from" is shown on Forms, on Detail it works perfectly.
Hey, is a fix for this somewhere in the pipeline? Need to decide whether to use this package for a soon-to-be production environment.
When add
NovaGridSystem
inNovaServiceProvider
it breaks the->hide()
function inFields
on Form view:Even if type is null field "date_from" is shown on Forms, on Detail it works perfectly.