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

addField: Hide If.. #602

Closed
AbbyJanke opened this issue Apr 10, 2017 · 2 comments
Closed

addField: Hide If.. #602

AbbyJanke opened this issue Apr 10, 2017 · 2 comments

Comments

@AbbyJanke
Copy link
Contributor

This idea mostly comes from working with PageManager as well. A lot of times pages may have a "featured image" or a "featured video" I want to be able to show the option for both but if one is selected then hide the other one and maybe automatically replace it with a line of text/link that says something along the line of Remove your image to display the video field 'image' would be replaced with video depending on selected.

Thinking the key for the array could be hide so it would check if a field with the name of whatever is in that value gets any input. I am happy to work on this but wanted to get it in the list and have some feedback.

@MarcosBL
Copy link
Contributor

Maybe this could help @AbbyJanke ? #527 (comment)

@AbbyJanke
Copy link
Contributor Author

Well that works perfectly :)

Thank you @MarcosBL

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