Skip to content

error msg fix #57

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

Merged
merged 3 commits into from
Mar 6, 2018
Merged

error msg fix #57

merged 3 commits into from
Mar 6, 2018

Conversation

amr08
Copy link
Collaborator

@amr08 amr08 commented Mar 4, 2018

Fixes:

  1. Input field doesn't show errors anymore #44 - Good news: Error msg now shows. Bad news: text runs over where we display the results. I tried to target the are with no success, may be something we just let go on the edge case.

  2. CSS issues: Card was getting cut off at bottom

@mradenovic
Copy link
Contributor

Bad news: text runs over where we display the results.

This is by design. If you go to Forms and try to add error="some long error message" to any Input, the result will be the same. Maybe we should try with Toast?

      window.Materialize.toast(err.message, 4000);

@mradenovic
Copy link
Contributor

Displaying the error in separate element seems to work fine.

@amr08
Copy link
Collaborator Author

amr08 commented Mar 4, 2018

Typically the built in error message would be smaller text and display right below the input line as pictured here:
screen shot 2018-03-04 at 1 41 01 pm

For some reason we have much larger text and there more space below the field:

screen shot 2018-03-04 at 1 52 29 pm

The conflict is coming from somewhere in the css, but adding a separate < p > like you did works fine.

@amr08 amr08 requested a review from jhowardjr March 4, 2018 18:54
@jhowardjr jhowardjr merged commit c73436a into develop Mar 6, 2018
@jhowardjr jhowardjr deleted the error-msg-fix branch March 6, 2018 22:47
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