[#90838] Apply datepicker to class instead of ID

I'm not aware of any elements that have an ID `datepicker` so I think the intent was to apply to the class all along.