Open bearded-avenger opened 10 years ago
Just saw this. Could be a great feature. anymore thoughts on it?
Nope! Just need to start on it! May lean on @etcook for this one though. His list is building LOL.
@etcook needs more stacked on his plate.
What am I, a goose? Are you trying to make foie gras?
googles fois gras
same here
Just a progress report on this.
This all seems like hax0ry when I think we should really do it right, through options array and handling dynamically.
Punting to 1.4
sounds like a plan.
@bearded-avenger http://api.jquery.com/on/
on craick?
The Idea: Hide un-necessary options until the user decides to activate the option. Think Gravity Forms conditional option loading.
My first pass at this was mostly working, however it's hardcoded JS and no easy way for 3rd party plugins to interact with this. The code is in fact in core and still commented out. The issue, is that the "settings view" is pretty much the same for each component. Meaning, which a component is selected, the "view" is the same, with the difference of the new options just being shown.
The issue comes into play, when you have more than one of the same component. This isn't the best way to handle this obviously, so I'd like to investigate a more fool-proof way of this working.
An idea was to utilize the existing option array; for example.
In this scenario, the option would only load if the name_of_option value was seven.