nova-conditional-fields
nova-conditional-fields copied to clipboard
Method fieldsWhen doesn't work at all
I made some resource on nova with conditional field
....
public function fields(Request $request)
{
return [
Condition::make('Show Fields')
->fieldsWhen(true, [
Text::make('Title', 'title')
->sortable()
->rules('required', 'max:255'),
]),
]
...
but field Title is not visible, I use Laravel Nova v.2.12