Skip to content

Workaround to enable MatAutocomplete to work inside EditForm #316

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
wants to merge 1 commit into from

Conversation

koskila
Copy link

@koskila koskila commented Oct 24, 2019

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

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

Copy link

@Garth-Faigley Garth-Faigley left a comment

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
Copy link
Collaborator

enkodellc commented May 16, 2020

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

@enkodellc enkodellc closed this May 16, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants