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

refactor: input field #106

Merged
merged 6 commits into from
Feb 19, 2020
Merged

refactor: input field #106

merged 6 commits into from
Feb 19, 2020

Conversation

eeegor
Copy link
Collaborator

@eeegor eeegor commented Feb 18, 2020

  • rename input text to input
  • remove internal validators
  • add input-group component
  • add input-label component
  • add input-error component
  • add types email, hidden, number , password, tel, text, url

public handleChange(event) {
this.value = event.target ? event.target.value : this.value;
this.changed.emit(this.value);
this.touched = true;
Copy link
Collaborator

Choose a reason for hiding this comment

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

hi, may i ask why do we need touched state value?

maomaoZH
maomaoZH previously approved these changes Feb 19, 2020
@maomaoZH maomaoZH merged commit 9790a0d into development Feb 19, 2020
@eeegor eeegor deleted the refactor-input branch April 27, 2020 13:05
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.

2 participants