Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Input] BUG : Input field requires a message object to show error formatting, without opt-out #799

Open
futurethang opened this issue Mar 4, 2021 · 0 comments
Labels
bug Something isn't working enhancement Enhancement to an existing feature or component web component @momentum-ui/web-components

Comments

@futurethang
Copy link
Collaborator

drives its error/warning/success styles from a passed in Message object. It relies upon that object to know what kind of formatting and color to apply. It also uses that content to display a message. However, there is no override to disabled the message showing and only use the styling changes.

See Editable Textfield for an example of a component that does include an attribute to allow users to skip the message

See Phone Input for an example of a complex element that cannot currently hide this message

Issue Type

Bug Report

Component or Pattern Affected

md-input

Expected Behavior

A user should be able to tell the component to not render the error message

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

  • Library:
  • Version used:
  • Browser Name and version:
  • Operating System and version:
  • Link to your project:
@futurethang futurethang added bug Something isn't working enhancement Enhancement to an existing feature or component web component @momentum-ui/web-components labels Mar 4, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working enhancement Enhancement to an existing feature or component web component @momentum-ui/web-components
Projects
None yet
Development

No branches or pull requests

1 participant