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

Add possible values for widget_type #4892

Closed
wants to merge 4 commits into from
Closed

Add possible values for widget_type #4892

wants to merge 4 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Jan 20, 2015

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

The documentation does not list which values are possible for widget_type. These two are the ones I extracted from the Symfony2 source code.

The documentation does not list which values are possible for widget_type. These two are the ones I extracted from the Symfony2 source code.
@xabbuh
Copy link
Member

xabbuh commented Jan 20, 2015

What do you think about reusing the description that we already have for the widget option of the date type (as it is basically the same)?

@ghost
Copy link
Author

ghost commented Jan 21, 2015

Sure, that sounds even better.

@xabbuh
Copy link
Member

xabbuh commented Mar 8, 2015

@XitasoChris Will you be able to do the change? I think this would be ready to be merged then.

@ghost
Copy link
Author

ghost commented Mar 23, 2015

@xabbuh Should I just copy it or move it to a new file and then include it on both pages?

@xabbuh
Copy link
Member

xabbuh commented Mar 23, 2015

@XitasoChris There already is the file /reference/forms/types/options/date_widget.rst.inc. Can it be reused or are there slight differences between both form types?

@ghost
Copy link
Author

ghost commented Mar 23, 2015

@xabbuh The form types should be identical, but the block you pointed out has a different headline ("widget") whereas we need "date_widget" here.

@xabbuh
Copy link
Member

xabbuh commented Mar 23, 2015

@XitasoChris Indeed, I would then move the description itself to its own file.

@ghost
Copy link
Author

ghost commented Mar 23, 2015

@xabbuh Done.

@xabbuh
Copy link
Member

xabbuh commented Mar 23, 2015

@XitasoChris Thanks, this looks really nice! 👍

@weaverryan
Copy link
Member

Wow, really really nice job re-using the existing description. Thanks @XitasoChris and xabbuh!

weaverryan added a commit that referenced this pull request Mar 24, 2015
This PR was submitted for the 2.6 branch but it was merged into the 2.3 branch instead (closes #4892).

Discussion
----------

Add possible values for widget_type

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets |

The documentation does not list which values are possible for widget_type. These two are the ones I extracted from the Symfony2 source code.

Commits
-------

e57c2ac terminate file with newline
ef9e1bd move title back and move description to separate file as suggested in PR #4892
6b42685 move title out of included file as suggested in PR #4892
6fcdd89 Add possible values for widget_type
@weaverryan weaverryan closed this Mar 24, 2015
weaverryan added a commit that referenced this pull request Mar 24, 2015
* 2.3: (44 commits)
  Removed duplicate "long"s
  terminate file with newline
  move title back and move description to separate file as suggested in PR #4892
  move title out of included file as suggested in PR #4892
  Add possible values for widget_type
  [#4842] Making 2 sentences
  changes as suggested by WouterJ in pull request #4842
  Add meaning of yellow icon for number of queries
  Fixing bad link name
  fix typo in event flow diagrams
  Many fixes thanks to stof, WouterJ, xabbuh and dupuchba
  added Jakub as a merger for the DomCrawler component
  [#5094] Removing mkdir - it's not needed (thanks xabbuh)
  some tweaks to #4601
  Moving index down to correct section
  [#4989] Language tweaks and making the example simpler
  Remove useless setLocale() call and add code block with locale setter
  Finaly touches on translation locale setting note
  Review note about setting the translator locale in a controller.
  Update translation.rst
  ...

Conflicts:
	cookbook/security/entity_provider.rst
weaverryan added a commit that referenced this pull request Mar 24, 2015
* 2.6: (45 commits)
  Removed duplicate "long"s
  terminate file with newline
  move title back and move description to separate file as suggested in PR #4892
  move title out of included file as suggested in PR #4892
  Add possible values for widget_type
  [#4842] Making 2 sentences
  changes as suggested by WouterJ in pull request #4842
  Add meaning of yellow icon for number of queries
  Fixing bad link name
  fix typo in event flow diagrams
  Many fixes thanks to stof, WouterJ, xabbuh and dupuchba
  added Jakub as a merger for the DomCrawler component
  [#5094] Removing mkdir - it's not needed (thanks xabbuh)
  some tweaks to #4601
  Moving index down to correct section
  [#4989] Language tweaks and making the example simpler
  Remove useless setLocale() call and add code block with locale setter
  Finaly touches on translation locale setting note
  Review note about setting the translator locale in a controller.
  Update translation.rst
  ...
weaverryan added a commit that referenced this pull request Mar 24, 2015
* 2.7: (47 commits)
  Removed duplicate "long"s
  terminate file with newline
  move title back and move description to separate file as suggested in PR #4892
  move title out of included file as suggested in PR #4892
  Add possible values for widget_type
  [#4842] Making 2 sentences
  changes as suggested by WouterJ in pull request #4842
  Add meaning of yellow icon for number of queries
  Fixing bad link name
  fix typo in event flow diagrams
  Many fixes thanks to stof, WouterJ, xabbuh and dupuchba
  added Jakub as a merger for the DomCrawler component
  Changes thanks to WouterJ and xabbuh
  [#5094] Removing mkdir - it's not needed (thanks xabbuh)
  some tweaks to #4601
  Moving index down to correct section
  [#4989] Language tweaks and making the example simpler
  Remove useless setLocale() call and add code block with locale setter
  Finaly touches on translation locale setting note
  Review note about setting the translator locale in a controller.
  ...
@ghost ghost deleted the patch-3 branch March 24, 2015 05:27
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.

2 participants