Skip to content

Commit

Permalink
refactor back to onInput (#5525)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashika01 committed Apr 23, 2020
1 parent ee185e1 commit 388f04e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -11,7 +11,7 @@ exports[`amplify-email-field spec: Render logic -> should render \`placeholder\`
exports[`amplify-email-field spec: Render logic -> should render default values by default 1`] = `
<amplify-email-field>
<mock:shadow-root>
<amplify-form-field fieldid="email" label="Email Address *" placeholder="amplify@example.com" type="email"></amplify-form-field>
<amplify-form-field fieldid="email" label="Email Address *" placeholder="Enter your email address" type="email"></amplify-form-field>
</mock:shadow-root>
</amplify-email-field>
`;
Expand Up @@ -32,7 +32,7 @@ export class AmplifyInput {
id={this.fieldId}
aria-describedby={this.fieldId && this.description ? `${this.fieldId}-description` : null}
type={this.type}
onChange={event => this.handleInputChange(event)}
onInput={event => this.handleInputChange(event)}
placeholder={this.placeholder}
name={this.name}
class="input"
Expand Down

0 comments on commit 388f04e

Please sign in to comment.