Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Datepicker #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Datepicker #7

wants to merge 2 commits into from

Conversation

TNAJanssen
Copy link

#3

@kbond
Copy link
Owner

kbond commented Jun 17, 2013

At first glance, I feel this should be an extension of symfony's date/datetime/time field types. I think only the widget itself needs to be different.

@TNAJanssen
Copy link
Author

You mean use DateTimeToStringTransformer?

@kbond
Copy link
Owner

kbond commented Jun 17, 2013

Yes, but I don't think we even have to specify a transformer. We only need to create a type that extends DateType that is named zenstruck_date and forces the widget option to be single_text.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants