These are chat archives for angular/material

4th
Aug 2016
Chey
@chey
Aug 04 2016 02:42
anyone know if md-autocomplete works with ng-pattern?
I can't seem to get it to work.
Echyzen
@GuillaumeUnice
Aug 04 2016 07:29
Hi I have two component the first :
  <md-grid-list layout-fill flex md-cols-sm="1" md-cols-md="2" md-cols-gt-md="4"  md-row-height="350px" md-gutter="8px">
    <md-grid-tile layout="row" flex ng-repeat="i in [1,2,3,4,5] track by $index">
      <dashboard-card></dashboard-card>
    </md-grid-tile>
  </md-grid-list>
and the second it's just a md-card
<md-card class="dashboard-card" layout-fill layout-padding class="md-whiteframe-6dp" >

  <md-card-header layout-align="end center">
    <md-button>
      manage
    </md-button class="md-icon-button">
  </md-card-header>
.
.
.
</md-card>
this display card with no full width
blob
but when I put the card directly in the parent component here there is no problem it seems have an ng-transclude with a figure tag what the hell XD
Echyzen
@GuillaumeUnice
Aug 04 2016 07:35
I can add style 100% on my directive but that strange to have make that
maks232
@maks232
Aug 04 2016 08:13
hi, is there a way to determine whether a model was changed by an md-select or programmatically.
maks232
@maks232
Aug 04 2016 08:22
got it, ng-change it is
Jesús López Morales
@jeslomo
Aug 04 2016 08:32
Hi, I've a problem. I have a left sidenav and a toolbar, but my problem is that it does not reach the bottom, only conforms to the content, as it could do?
Sayan Bhattacharya
@tinker20
Aug 04 2016 08:33
Add height to the sidenav
Jesús López Morales
@jeslomo
Aug 04 2016 08:33
Captura de pantalla 2016-08-04 a las 10.33.00.png
This is the example
@tinker20 height : 100%?
Sayan Bhattacharya
@tinker20
Aug 04 2016 08:34
Yes.
Jesús López Morales
@jeslomo
Aug 04 2016 08:36
If i add height: 100% only to sidenav not work, but if add this style to parerts div works
Captura de pantalla 2016-08-04 a las 10.35.50.png
It's correct?
Sayan Bhattacharya
@tinker20
Aug 04 2016 08:38
Yes. try to wrap the sidenav inside a div with a height of 100%
Jesús López Morales
@jeslomo
Aug 04 2016 08:40
for it works, need add height in all parents :S
I'm a component "<sidemenu>" that encapsule sidenav
I'm trying to add the height only to this but don't work
Echyzen
@GuillaumeUnice
Aug 04 2016 12:06
It's recommended to use md-card nested into md-grid-list ? Or for responsive there is another methode?
Brad Wertman
@bmwertman
Aug 04 2016 17:49
This message was deleted
Screen Shot 2016-08-04 at 1.48.39 PM.png
Brad Wertman
@bmwertman
Aug 04 2016 17:54
never mind it was just becuase I wasn’t returning the result
coltonneil
@coltonneil
Aug 04 2016 19:23
Is it possible to stop md-sidenav from focusing on open? I am opening it while using a slider bar and it interrupts the slider by autofocusing.