You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My issue regards the use of a resource field as source for a ConditionalContainer inside a Whitecube\NovaFlexibleContent\Flexible field. For example:
public function fields(Request $request)
{
return [
Boolean::make('Test'),
Flexible::make('Flexible')->addLayout('Layout', 'layout', [
ConditionalContainer::make([ Text::make('Demo') ])->if('test truthy true')
])
];
}
What I am looking for is to conditionally enable 'Demo' (inside Flexible) based on 'Test' (outside Flexible).
Is something that is possible with this package? If not, could you provide some guidelines on how to implement it?
Thanks
The text was updated successfully, but these errors were encountered:
There has been a discussion here: #17 no definitive solution yet, but depending on what you need the current state could help.. it is partially the only almost working solution out there... only validation is broken...
Hi,
Thanks for the superb package.
My issue regards the use of a resource field as source for a ConditionalContainer inside a Whitecube\NovaFlexibleContent\Flexible field. For example:
What I am looking for is to conditionally enable 'Demo' (inside Flexible) based on 'Test' (outside Flexible).
Is something that is possible with this package? If not, could you provide some guidelines on how to implement it?
Thanks
The text was updated successfully, but these errors were encountered: