I was wondering if there is any way in the widget creation proc (e.g. template::widget::menu) to know if ",multiple" was specified in the element creation.
I tried to find it in the element array, but only ",optional" is resolved in the element array with "optional 1", not ",multiple".
Is this on purpose, is this a bug, did I just not find where to look, you name it..
It would be really helpful if someone could point me where to investigate, as I don't want to write a multiselect widget for im_categories. And the hack used in categories to achieve this (passing the multiple as a custom parameter) is just that, a hack.
Thanks a bunch in advance for any pointers.
P.S.: Not urgent, I implemented the workaround using a custom parameter for the widget, still not really elegant, isn't it ?