Open tsteuwer-accesso opened 2 years ago
Hello,
The provided stackblitz does not contain any form fields. Could you revise the link?
In any case, this is likely because MDC select is a custom implementation and not based on a native select input field.
@allan-chen , try this one:
https://stackblitz.com/edit/web-platform-afuksa?file=index.html
Bug report
When using the
autocomplete
attribute on the mdc-select element, it doesn't handle the autocomplete event.Steps to reproduce
Actual behavior
The dropdown doesn't use the autofill value.
Expected behavior
The dropdown default selected should change to the autocomplete value.
Screenshots
N/A
Your Environment:
Additional context
I've tried adding the
autocomplete
attribute to the main component, the mdc-menu component, etc. Nothing seems to work. I've also tried using a hidden input in the select and that also doesn't work.Possible solution
N/A