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

Conditional logic doesn't work on FileUpload field #125

Open
Afsaneh1987 opened this issue Jul 16, 2021 · 0 comments
Open

Conditional logic doesn't work on FileUpload field #125

Afsaneh1987 opened this issue Jul 16, 2021 · 0 comments

Comments

@Afsaneh1987
Copy link

Hello

I have created a form with two fields:
1- Check box
2- File Upload
I want to use conditional logic in the FileUpload field. The conditional logic looks like this:
If Checkbox is equal to checked then
hide FileUpload
Unfortunately, the conditional logic doesn't work properly. I checked this in the DevTools and I realized that the FileUpload does not have a "data-sc-field-key".
If I manually add the attribute to this, it starts working.
I am currently using Sitecore 9.1

1
2
3

Could you please suggest me to resolve this problem?

Thanks.

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

1 participant