Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Adding information about using the date type as usable date picker field #6554

Merged
merged 1 commit into from
May 22, 2016
Merged

Adding information about using the date type as usable date picker field #6554

merged 1 commit into from
May 22, 2016

Conversation

weaverryan
Copy link
Member

Q A
Doc fix? no
New docs? yes-ish
Applies to 2.3
Fixed tickets n/a

We were missing details about the (probable) most common use-case with the date field. This can be tricky, because you need the input/output formats to match. I also made a few other small changes.

'widget' => 'single_text',

// do not render as type="date", to avoid HTML5 date pickers
'html5' => false,
Copy link
Member Author

Choose a reason for hiding this comment

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

btw, this is needed, otherwise your browser's native HTML5 date picker will compete/fight with the JavaScript one

@xabbuh
Copy link
Member

xabbuh commented May 10, 2016

👍

@weaverryan weaverryan merged commit ca225d4 into symfony:2.3 May 22, 2016
weaverryan added a commit that referenced this pull request May 22, 2016
…date picker field (weaverryan)

This PR was merged into the 2.3 branch.

Discussion
----------

Adding information about using the date type as usable date picker field

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | yes-ish
| Applies to    | 2.3
| Fixed tickets | n/a

We were missing details about the (probable) most common use-case with the date field. This can be tricky, because you need the input/output formats to match. I also made a few other small changes.

Commits
-------

ca225d4 Adding information about using the date type as usable date picker field
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants