Closed modxbot closed 4 years ago
Interesting enough, this still seems to be an issue... and also a major drawback as I can only agree, that this feature is very important... I would definitely like to vote for this one! Are there any workarounds to get this working (now in 2.3)? (especially with images...)
Definitely something I'm gonna look into, miss a few settings myself...for example I made the "thumb" of the image tv significantly bigger in the 2.3 theme, but maybe somebody doesn't like that, so there should be a setting to configure the thumb dimensions of an image tv =)...
also related: https://github.com/modxcms/revolution/issues/11759
Is there any progress on this issue?
After doing a bit of research I leave this here as a reference.
The file and image TV use the modx-combo-browser
xtype manager/assets/modext/widgets/core/modx.combo.js
.
The component MODx.combo.Browser
extends Ext.form.TriggerField
and has support for allowBlank: false
. However setting allowBlank: false
in MODx.combo.Browser
marks the input field as "invalid" because it's empty when rendered. Saving the resource is still possible even if the input field is blank.
Does anyone have any ideas on how to fix it? TV in MODX is one of the coolest features and it is strange that TVs do not work correctly.
Thanks for reminding me, I'll put it back on my todo list!
Thanks @Ruslan-Aleev !
yogooo created Redmine issue ID 6521
Add the "Allow Blank" setting to all TV input type. Currently unavailable for type :
I'm currently setting up a website where non-empty images and url TVs are required. "Allow Blank" is a super useful option and it would be even more helpful if it was available for all TV types.