Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

document the DateTimeType widget option #3152

Merged
merged 1 commit into from
Nov 7, 2013
Merged

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Nov 4, 2013

Q A
Doc fix? no
New docs? yes
Applies to all
Fixed tickets #2362


Defines the ``widget`` option for both the :doc:`date </reference/forms/types/date>`
type and :doc:`time </reference/forms/types/time>` type. If set, overwrites the
`date_widget`_ and `time_widget`_ options.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm checking out the code, and I'm not sure that widget overrides date_widget or time_widget - it looks like if widget is set, it's the default value, but then if date_widget is set, for example, that would override widget. What do you think?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems you're right. I just relied on the comments here. Fixed it.

weaverryan added a commit that referenced this pull request Nov 7, 2013
document the DateTimeType widget option
@weaverryan weaverryan merged commit f11ac7a into symfony:2.2 Nov 7, 2013
@weaverryan
Copy link
Member

Thanks Christian!

@xabbuh xabbuh deleted the issue-2362 branch November 7, 2013 13:30
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants