These are chat archives for angular/material

27th
Jul 2016
venkateshpappu
@venkateshpappu
Jul 27 2016 05:08
Angular material failed to work in android jellybean
is there any clue ?
kvteja
@kvteja
Jul 27 2016 05:50
Hello
yes iam also have same problem is there any alternative for support angular material on jellybean os?
kvteja
@kvteja
Jul 27 2016 07:42
Hello guys expects any solution for that
Thanks in advance
Hamid
@hamidyfine
Jul 27 2016 09:09
@ShadowManu Thanks for your reply... I used $timeout.
sunny
@sunnynegi
Jul 27 2016 09:52
restricted escape and enter key in md dialog box
?
sunny
@sunnynegi
Jul 27 2016 10:41
any help
Sven Cowart
@svencowart
Jul 27 2016 13:45
What version of node should I use to run gulp build within the project source? I am getting and error with node-sass which usually always happens to me whenever I have the incorrect version of node.
Punita Ojha
@punitaojha
Jul 27 2016 18:10
This message was deleted
This message was deleted
This message was deleted
This message was deleted
This message was deleted
This message was deleted
This message was deleted
This message was deleted
Sayan Bhattacharya
@tinker20
Jul 27 2016 18:11
how is it behaving abnormally and how do u want it to be?
Punita Ojha
@punitaojha
Jul 27 2016 18:12
This message was deleted
This message was deleted
Sayan Bhattacharya
@tinker20
Jul 27 2016 18:12
try using ng-options instead of ng-repeat
Punita Ojha
@punitaojha
Jul 27 2016 18:12
This message was deleted
This message was deleted
Sayan Bhattacharya
@tinker20
Jul 27 2016 18:13
Try sharing the image
Punita Ojha
@punitaojha
Jul 27 2016 18:22
This message was deleted
This message was deleted
This message was deleted
This message was deleted
Sayan Bhattacharya
@tinker20
Jul 27 2016 18:27

Try using this in HTML:-

<md-select ng-model=“selectedValue" placeholder="Select a Mode Of Payment">
      <md-option ng-repeat=“mode in modeOfPayments" value={{mode.id}}">{{ mode.name }}</md-option>
    </md-select>

And this in your controller:-

$scope.modeOfPayments = [{'id':'1','type’:'Cash'}, {'id':'2','type’:'Cheque'}];

Replace

ng-model=“selectedValue”

to

ng-model=“modeOfPayments”
Punita Ojha
@punitaojha
Jul 27 2016 18:35
This message was deleted
This message was deleted
Sayan Bhattacharya
@tinker20
Jul 27 2016 18:36
Oh Sorry. That should be
{{mode.type}}
Punita Ojha
@punitaojha
Jul 27 2016 18:36
This message was deleted
Punita Ojha
@punitaojha
Jul 27 2016 18:44
This message was deleted
This message was deleted
This message was deleted
Sayan Bhattacharya
@tinker20
Jul 27 2016 18:45
<md-select ng-model=“modeOfPayments" placeholder="Select a Mode Of Payment">
      <md-option ng-repeat=“mode in modeOfPayments" value={{mode.id}}">{{ mode.type }}</md-option>
    </md-select>
I meant it for the rendered html. Since type is the key in the json structure I have created. So it should be mode.type not mode.name. It turns up blank as there is no property as name in modeOfPayments.
Punita Ojha
@punitaojha
Jul 27 2016 18:51
This message was deleted
This message was deleted
Sayan Bhattacharya
@tinker20
Jul 27 2016 18:51
Are you using controllerAs syntax?
Punita Ojha
@punitaojha
Jul 27 2016 18:52
This message was deleted
Sayan Bhattacharya
@tinker20
Jul 27 2016 18:53
Can you share the controller code?
Casper Engelmann
@CasperEngl
Jul 27 2016 21:15
How can I make my md-toolbar position fixed, is there any attribute to do so, or will I have to use CSS?