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(dynamic-forms): make sure hints and errors dont overlap #1222

Merged
merged 1 commit into from
Aug 15, 2018

Conversation

emoralesb05
Copy link
Contributor

Description

properly leveraging the mat-error element on components that use
mat-form-field fixes this issue, but to achieve this we need to
refactor how the error message is shown

also add documentation on how to show the error message when creating a
custom component

What's included?

  • use mat-error when possible
  • add info in README and demo on how to show error in custom component

Test Steps

General Tests for Every PR

  • npm run serve:prod still works.
  • npm run tslint passes.
  • npm run stylelint passes.
  • npm test passes and code coverage is not lower.
  • npm run build:lib still works.

properly leveraging the mat-error element on components that use
mat-form-field fixes this issue, but to achieve this we need to
refactor how the error message is shown

also add documentation on how to show the error message when creating a
custom component
@emoralesb05 emoralesb05 added this to the Release 2.0.0 milestone Aug 15, 2018
@JulieMarie
Copy link
Collaborator

LGTM

@emoralesb05 emoralesb05 merged commit cf0439d into develop Aug 15, 2018
@emoralesb05 emoralesb05 deleted the fix/error-hint-overlay branch August 15, 2018 20:04
kriswinbush pushed a commit to kriswinbush/covalent that referenced this pull request Feb 20, 2020
…#1222)

properly leveraging the mat-error element on components that use
mat-form-field fixes this issue, but to achieve this we need to
refactor how the error message is shown

also add documentation on how to show the error message when creating a
custom component
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