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

Hide Input Option Values for TV types where this is useless #14040

Merged
merged 1 commit into from
Oct 24, 2018

Conversation

OptimusCrime
Copy link
Contributor

What does it do?

The box called Input Option Values are displayed for all types of TVs. This makes no sense for a bunch of them, and hiding the box would most likely be a good idea. This PR attempts to do this.

The approach is not very good, but I found no better ways of doing while attempting to solve this. The approach is to hide the box in the renderes, and display it when a new TV type is selected. This way, we do not hide the box for third party or custom TV types.

Why is it needed?

Reasons stated above.

Related issue(s)/PR(s)

#7293

Copy link
Collaborator

@Jako Jako left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked, works fine.

We should remove an existing value in those inputs during saving the template variable. But since this would be a BC, this should be prepared for MODX3.

@Jako Jako added this to the v2.7.0 milestone Aug 31, 2018
@Jako Jako added type-frontend Issues related to UI/UX issues, mostly about styles and frontend implementations on JavaScript. proposal Proposal about improvement aka RFC. Need to be discussed before start implementation. pr/ready-for-merging Pull request reviewed and tested and ready for merging. labels Aug 31, 2018
@opengeek opengeek merged commit 7287589 into modxcms:2.x Oct 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/ready-for-merging Pull request reviewed and tested and ready for merging. proposal Proposal about improvement aka RFC. Need to be discussed before start implementation. type-frontend Issues related to UI/UX issues, mostly about styles and frontend implementations on JavaScript.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants