Skip to content
This repository was archived by the owner on May 4, 2022. It is now read-only.

fix(Input): correct call of clearTextInput #935

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KillerCodeMonkey
Copy link

Do not pass $event to clearTextInput method since it does not accept arguments.

Short description of what this resolves:

clearTextInput function does not accept any arguments, but it is called with $event in the template.

Changes proposed in this pull request:

  • do not call clearTextInput with $event as argument

Fixes:
This is one issue if you run angular template checks.
e.g. if you run ngc with

"angularCompilerOptions": {
  "fullTemplateTypeCheck": true
}

in your tsconfig.json

Do not pass $event to clearTextInput method since it does not accept arguments.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant