Open JensWolff opened 9 years ago
Yes, very useful! Also useful at other positions in the manager (e.g. reset only „filter area“, „search key“ in System Settings filter), Lexicon Management,.. The default „Clear filter“ button resets all filters. And that's sometimes not the desired functionality and the first time a little bit confusing. We should rename the button to „Clear filter“.
Somehow related to https://github.com/modxcms/revolution/issues/8169
+1 for a clear button.
As I can see layout problems for a labeled button, I think a meaningful icon would be much better. We can add a more detailed description on hover.
The multiselect TV already has such a button:
What I don't like about it, that it works without any confirmation dialog. A simple yes/no popup would make it much better.
I work on that
Prototype (without nice ExtButton) is now ready and working.
@TheBoxer Here is the Ext4-Plugin we found, but its not working (as expected) in the manager because of Ext3. Perhaps, you can take a look at it - and perhaps get in working under Ext3: http://www.eekboom.de/ClearButton.html
Quick'n'Dirty own prototype to get the job done for image-tvs: https://gist.github.com/JensWolff/9b2d48273a5bd6194e88
This is the modified ClearButton plugin: https://gist.github.com/TheBoxer/2a469ce5fe851cd0be00
Needs more work for stylings.
To use:
plugins: [new Ext.ux.form.field.ClearButton()]
Awesome @TheBoxer ;-) :+1: :+1: :+1:
Awesome, dude!!
At the moment you can just clear the already filled image-tv by manually selecting and deleting the image-path from the tv. But this is something the most clients won't think about, because its not intuitive at this point. So it would be nice, if the default image-tv gets extended with a "clearme"-button right after the "select image"-button.