laminas / laminas-form

Validate and display simple and complex forms, casting forms to business objects and vice versa
https://docs.laminas.dev/laminas-form/
BSD 3-Clause "New" or "Revised" License
80 stars 52 forks source link

3.13.x datetime select get elements #231

Closed pine3ree closed 1 year ago

pine3ree commented 1 year ago

Make sure that DateTimeSelect::getElements() returns all its sub Select elements

pine3ree commented 1 year ago

Q: any reason for not having getElements() return element from less specific to more specific (Y m d H i s) or even better an hash map ['year' => $yearElement, 'month' => $monthElement, ...] ? kind regards.