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

fix(form): prompt template function #866

Merged
merged 4 commits into from
Jul 11, 2019

Conversation

y0hami
Copy link
Member

@y0hami y0hami commented Jul 10, 2019

Description

The form template function used to create error labels was using a string literal instead of the className.label setting.

Testcase

Before: https://jsfiddle.net/snkr9d4p/
After: https://jsfiddle.net/cyxb2v3z/

Screenshot (when possible)

Before:
image

After:
image

Sean Hamilton added 4 commits July 10, 2019 18:44
The template function used to create the error labels ignored the
className setting and used a string literal
Add the className.label as an argument on the prompt
template function so it uses the user defined class
not the default setting.
@y0hami y0hami added type/bug Any issue which is a bug or PR which fixes a bug lang/javascript Anything involving JavaScript state/awaiting-reviews Pull requests which are waiting for reviews labels Jul 10, 2019
@y0hami y0hami added this to the 2.7.7 milestone Jul 10, 2019
@y0hami y0hami self-assigned this Jul 10, 2019
Copy link
Member

@lubber-de lubber-de left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@exoego exoego left a comment

Choose a reason for hiding this comment

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

LGTM

@y0hami y0hami merged commit cc97a30 into fomantic:develop Jul 11, 2019
@y0hami y0hami deleted the fix/form-prompt-template-function branch July 11, 2019 07:09
@lubber-de lubber-de removed the state/awaiting-reviews Pull requests which are waiting for reviews label Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang/javascript Anything involving JavaScript type/bug Any issue which is a bug or PR which fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants