feature request: radio and checkbox fields
Opened this issue · 4 comments
Hi,
if I add toggle, radio or checkbox field in my custom admin-addon-media-metadata.yaml
, when I save metadata with this plugin, for these fields it saves always an empty value. Can you verify please?
Hi!
thanks for the note. Yes, I can confirm this behaviour and after quite some code-checking I have an idea where the problem might lie: the JS populates the fields with values from a JS array which in turn has been written into the source code by the PHP script. This overwrites the values, which works fine for text fields – but not for checkboxes or radio buttons. I’ll try and see to it.
Cheers,
Clive.
Hi, any update on this? Your plugin is really life-saver, but this issue is quite problematic :(
Hi, any update on this? Your plugin is really life-saver, but this issue is quite problematic :(
Sorry, but no update yet. I currently don’t manage :(
I'm doing some maintenance and it's surprising what people are doing with this plugin. I looked up the code and it will be good bunch of logic to be implemented to support other types than text-like.
Will keep this open as a todo.