Skip to content

Workaround to enable MatAutocomplete to work inside EditForm#316

Closed
koskila wants to merge 1 commit into
SamProf:masterfrom
koskila:item/autocompleteforeditform
Closed

Workaround to enable MatAutocomplete to work inside EditForm#316
koskila wants to merge 1 commit into
SamProf:masterfrom
koskila:item/autocompleteforeditform

Conversation

@koskila

@koskila koskila commented Oct 24, 2019

Copy link
Copy Markdown

Enables the usage of MatAutocomplete inside EditForms by creating a dummy value for ValueExpression. We needed to get this working for our project, so we implemented the workaround introduced on #213 (and #278).

Honestly - I think the solution Sebbstar introduced on PR #272 might be prettier in the long run, if it fixes the issue as well. However, we needed to get this working internally, and I thought it'd be foolish not to at least offer the solution up for grabs, just in case it would be useful for someone.

Cheers!

@nicucomiati990

Copy link
Copy Markdown

i would appreciate this fix being merged to master because it's a blocker for my team

@Garth-Faigley Garth-Faigley left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This seriously needs to work in an EditForm.

@enkodellc

enkodellc commented May 16, 2020

Copy link
Copy Markdown
Collaborator

Thanks for the PR. This is now resolved in the develop branch. #548

@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.

4 participants