Hi there, this is a request / if you could tell me how to do this I would be very happy.

For larger taxonomy lists 10+ the drop down starts to get fairly long. If there's a way we could dynamically set the size="" option that would be a great feature. Especially for myself when dealing with e-commerce taxonomys.

If there's a quick fix to this or if I missed something, could someone let me know?

Thanks a ton, - Justin

Comments

wim leers’s picture

Status: Active » Fixed

This is not supported via the UI, but via code. Just set the #size property on your Hierarchical Select element. However, this is only supported on HS 3!

hinchcliffe’s picture

You say via the code? I've just updated to 3.0 / thanks to your help with the patch. I'm now looking for the right spot to adjust the #size property, they're tons of folders.

Thanks for your help,

Justin

wim leers’s picture

Ehm no, you should not hack the code, you should add it dynamically by using hook_form_alter().

hinchcliffe’s picture

lol, something new I can learn once again :) Could you be kind enough to point me in the right direction? Thanks a ton for your quickness and dedication to helping users on this module. I appreciate it.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.