These are chat archives for angular/material

2nd
Jul 2018
Pradeepkumar Kori
@pradeekumar
Jul 02 2018 07:29
Hi i am getting error while running ng test (karma test) Can't bind to 'matMenuTriggerFor' since it isn't a known property of 'button'.
SOUARE Saidou
@sVidouSouVre
Jul 02 2018 12:50
does mat-card support angular/flexlayout???
Tim Burnell
@tmburnell
Jul 02 2018 12:54
@pradeekumar did you import MatMenuModule
SOUARE Saidou
@sVidouSouVre
Jul 02 2018 12:54
yes
but i have some issue
using it with angular flexbox

`<div fxLayout="row" fxLayoutAlign="center center">

<mat-card fxFlex>

<mat-card-content>

<h2>Left Card 1</h2>
</mat-card-content>
</mat-card>

<mat-card fxFlex>

<mat-card-content>

<h2>Left Card 2</h2>
</mat-card-content>
</mat-card>

<mat-card fxFlex>

<mat-card-content>

<h2>Right Column </h2>
</mat-card-content>
</mat-card>
</div>`

Tim Burnell
@tmburnell
Jul 02 2018 12:55
can you create it here: https://stackblitz.com/
SOUARE Saidou
@sVidouSouVre
Jul 02 2018 12:55
okey
SOUARE Saidou
@sVidouSouVre
Jul 02 2018 13:09
Oh my bad
i forgot to add import in my app.module.ts
thanks @tmburnell
SOUARE Saidou
@sVidouSouVre
Jul 02 2018 13:16
and angular silently works without raising an issue
Tim Burnell
@tmburnell
Jul 02 2018 13:18
glad you figured it out
SOUARE Saidou
@sVidouSouVre
Jul 02 2018 13:19
thanks
Eduards Brown
@EduardsBrown
Jul 02 2018 13:19
@vasimahpathan by modal you mean Dialog
??
cnotv
@cnotv
Jul 02 2018 14:01
I've problem to make chips selectable, anybody had the issue too recently?
https://stackblitz.com/edit/mat-chip-select-issue?file=app/app.component.html
Tim Burnell
@tmburnell
Jul 02 2018 14:08
the attached example selection looks to work for me, however if i click between chips it selects the first chip
cnotv
@cnotv
Jul 02 2018 15:53
they should turn blue if selected, instead there's just the shadow
you can see the 3rd and 4rth chips are selected using directly the attribute
cnotv
@cnotv
Jul 02 2018 16:18
opened an issue