Skip to content
New issue

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

Can't work out how to depend on a File field #187

Open
warksit opened this issue Aug 2, 2021 · 1 comment
Open

Can't work out how to depend on a File field #187

warksit opened this issue Aug 2, 2021 · 1 comment

Comments

@warksit
Copy link

warksit commented Aug 2, 2021

I would like to show some fields once a file has been selected to be uploaded (or previously uploaded).

File::make('Payroll Payment Summary', 'payroll_payment_summary'),
NovaDependencyContainer::make([
    Heading::make('NotEmpty') // Just an example field
])->dependsOnNotEmpty('payroll_payment_summary'),

Have also tried ->dependsOnNullOrZero('payroll_payment_summary').

Is what I am trying achievable?

@vinoles
Copy link

vinoles commented Dec 5, 2022

Hello, I have the same problem, could you solve it? Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants