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

Fixes issue #315 (MatAutocomplete's clear-button submits forms) #317

Closed
wants to merge 1 commit into from

Conversation

koskila
Copy link

@koskila koskila commented Oct 24, 2019

Changes the type of the MatIconButton to be "button" instead of "submit" (default) to avoid accidental submits of EditForms. This is done by changing the "type" of the MatIconButton on the MatAutocomplete component.

…it" (default) to avoid accidental submits of EditForms
@sandrohanea
Copy link
Contributor

Hi!
Can you redo this change on the newer version using MatAutocompleteList?
Thank you!

@sandrohanea
Copy link
Contributor

It seems this change is also in #325

@enkodellc
Copy link
Collaborator

Thanks for the PR, this is now resolved in the latest develop branch.

@enkodellc enkodellc closed this May 16, 2020
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.

3 participants