Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mkurz
Copy link
Member

@mkurz mkurz commented Oct 3, 2018

Actually I thought that was happening already - like it's done for the getOrElse part as well, however it looks like I forgot that when I added the translateMsgArg method and other i18n stuff to the helpers.
(Actually I don't use the Play built-in helpers myself, most of the time play-bootstrap - which does look up these attributes in the messages - therefore I did not recognize earlier).

We can backport as well.

Copy link
Member

@marcospereira marcospereira left a comment

Choose a reason for hiding this comment

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

Nice.

Small addition, but can we have a test for that?

@mkurz
Copy link
Member Author

mkurz commented Oct 4, 2018

Test added.

Copy link
Member

@marcospereira marcospereira left a comment

Choose a reason for hiding this comment

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

👍

@marcospereira marcospereira merged commit 0fecda5 into playframework:master Oct 4, 2018
@mkurz mkurz deleted the formHelpersFix branch October 4, 2018 11:58
marcospereira pushed a commit that referenced this pull request Oct 4, 2018
* Lookup form helpers' _label and _name attributes in messages

* Add test
@marcospereira
Copy link
Member

Backport to 2.6.x: 0f783da

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants