Hello,
I've enabled Date PopUp module. Everything works fine with a new field type 'date_popup', but I get field look different from standard 'date' field. I just expect that those three combos are replaced with single edit that fires popup. That's all. Now I get additional label 'Date' (ok, I can remove it with '#date_label_position' => ''), unexpected one more 'description'. We do have possibility to set label and description in Form API. Why those extra objects are added in this control? Is here any simple way to keep the same style like standard form items or should I alter this form item from the code to remove extra label and extra description?
Thanx in advance
marukas
Comments
Fixed problem in css
Uff, I've fixed this problem in css:
You only must add class 'container-popup-date' to form item wrapper:
Greetings
marukas
Thanks for the little css and
Thanks for the little css and php snippet! I did not know about the '#wrapper_attributes' render array element before :)
Tnx
Tnx
date_popup extra label
If you want to remove the extra label, I found ['#date_label_position'] = 'none' seems to work
Worked
Thanks!