-
Notifications
You must be signed in to change notification settings - Fork 85
menu and FormControls #240
Comments
@rapropos Definitely. @Input('open') open_: boolean; Is this what ya need? |
I am thinking of something that would be a drop-in replacement for |
Just completed some significant infrastructure changes. Reviewing this request and will let ya know. |
Hey @rapropos |
I'm not seeing a section on it in the demo app, but I'll try to figure out how to use it from the source. UPDATE: Yes, that seems to be working nicely. One small caveat: the menu I tested it on has only four items, and would not normally seem to necessitate a scrollbar for the menu, yet one appears. A cursory glance did not suggest if that is able to be controlled via a property. |
Awesome to hear 👍 Yeah, the scrollbar is related to upstream issue: material-components/material-components-web#1387. I also mentioned a concern regarding the change prior to the MDC release; material-components/material-components-web#1247, but it may have been overlooked. Are you using |
My |
I wonder if it might be possible to somehow create some sort of alternative wrapping API for a menu toggle / menu combination that could be bound directly via either
[(ngModel)]
or to aFormControl
without the need for having a dedicated opening method,@ViewChild
to the menu, and a(select)
handler in the controller?The text was updated successfully, but these errors were encountered: