Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 11 2016 19:26

    Splaktar on master

    fix(toast): apply theming corre… perf(icon): better handling of … fix(list): copy ng-show, ng-hid… and 49 more (compare)

  • Jun 15 2016 16:14

    Splaktar on v1.1.0-rc.5

    release: version 1.1.0-rc.5 (compare)

  • May 14 2016 05:55

    Splaktar on master

    feat(panel): initial implementa… update(panel): promise logic im… update(panel): add and remove p… and 44 more (compare)

  • May 05 2016 20:47

    Splaktar on v1.1.0-rc4

    release: version 1.1.0-rc4 (compare)

  • May 05 2016 20:47

    Splaktar on v1.1.0-rc3

    release: version 1.1.0-rc3 (compare)

  • May 03 2016 22:28

    Splaktar on es6-tutorial

    Prepare clean start Remove bow… install angular-material And i… working version of starter-app and 19 more (compare)

  • May 03 2016 22:22

    Splaktar on master

    Tutorial Readme updates Updates for Tutorial #2 Update README with tutorial ste… and 56 more (compare)

  • May 01 2016 22:56

    Splaktar on fixBlurryRightNavIe11

    fix(sidenav): rightNav button a… (compare)

  • May 01 2016 22:37

    Splaktar on master

    fix(dialog): don't clobber md-d… update version number in packag… update(changelog): sort so 1.1.… and 1 more (compare)

  • May 01 2016 22:34

    Splaktar on fixSideNavDemo

    docs(sidenav): leftNav text isn… (compare)

  • Apr 27 2016 04:14

    Splaktar on fixSideNavDemo

    docs(sidenav): invalid `md-whit… (compare)

  • Apr 27 2016 03:54

    Splaktar on master

    update(changelog): add missing … fix(toolbar): remove transition… fix(tests): Cleans up the DOM a… and 2 more (compare)

  • Apr 23 2016 01:32

    Splaktar on master

    update(docs): improve docs for … update(docs): renamed `md-text-… fix(list): clickable list-items… and 71 more (compare)

  • Apr 11 2016 03:20

    Splaktar on improveExtendThemeDoc

    update(docs): improve docs for … (compare)

  • Apr 11 2016 03:15

    Splaktar on improveExtendThemeDocs

    update(docs): improve docs for … (compare)

  • Apr 11 2016 02:57

    Splaktar on updateThemingDocs

    update(docs): renamed `md-text-… (compare)

  • Apr 11 2016 02:48

    Splaktar on master

    fix(demo, codepen): use secure … fix(build, layout): remove depr… update(build): remove stale bow… and 72 more (compare)

  • Apr 11 2016 02:48

    Splaktar on v1.1.0-rc2

    release: version 1.1.0-rc2 (compare)

  • Mar 19 2016 03:00

    Splaktar on master

    fix(checkbox): pointer events d… update(tests): remove disabled/… fix(datepicker): enable scrolli… and 20 more (compare)

  • Mar 13 2016 05:41

    Splaktar on v1.0.6

    Revert "fix(select): made selec… update(layout): add layout-nowr… fix(whiteframe): update breakpo… and 57 more (compare)

jmls
@jmls
I have <form name="$ctrl.form" novalidate ng-submit="$event.preventDefault()">
and md-input-name="State" on the auto-complete
jmls
@jmls
ah, ffs
all that time messign about trying to get it working
I missed the closing > of md-autocomplete ....
grrrr
jmls
@jmls

@devimplode : sorry, but I'm still kinda confused about mapping to a model : using md-select as an example, I have a table of state codes [{code: "AL", name: "Alaska"},{..}]

        <md-select ng-model="$ctrl.data.stateCode">
            <md-option ng-repeat="item in $ctrl.states" value="{{item.code}}">{{item.name}}</md-option>
        </md-select>

so, on startup, this if $ctrl.data.stateCode is "AL", the selection displays "Alaska". When I browse the selection, I see the list of state names, and when I choose the state, then $ctrl.data.stateCode is set to the code, not the name of the select item

how do I replicate this, but using autocomplete instead of select ? I think that I can set the value of the model whenever the item is changed, but how do I get it to display the current value on startup like selection does ?
Ludwig Behm
@lbehm
This message was deleted
just provide your value in md-search-text="$ctrl.data.stateCode"
jmls
@jmls
i thought the search was on the "name"
but I'll try, thanks
Ludwig Behm
@lbehm
which name?
jmls
@jmls
I'm showing the state names in the auto-complete, just like the selection, but want to store the state code
so in the selection html above, I see the state names, but when I select one, it's the state code that is put into the ng-model
I want to do the same with auto-complete - show the names, store the code
perhaps i'll knock up a codepen to explain what I want ;)
jmls
@jmls
okies:
I have 2 states: one chosen by autocomplete and one by selection
as you can see, the one with selection defaults to the state in state2
and when I change the selection, state2 is updated accordingly
how can I replicate this functionality with the auto-complete ?
Ludwig Behm
@lbehm
add this to your constructor
    self.selectedItem = self.states.filter(createFilterFor('Alaska'))[0];
    self.searchText = self.selectedItem.display;
jmls
@jmls
I was afraid of that ... I only have the code, not the description. So I'm going to have to search the results for the code, once I find the appropriate state, get the name, then do what you suggest
That's an embuggerance ;)
thanks
especially as the selection directive does it all for you already :(
jmls
@jmls
fwiw, I used lodash to do the search for me
Ludwig Behm
@lbehm
@jmls can you give a example what the search does?
jmls
@jmls
sure, but it's nothing special ...
self.selectedItem= _.find(self.states,{code: self.data.stateCode});
Oscar Lagatta
@oscarlagatta
Does anyone know if current version of Angular Material 2 works with latest Angular 2 RC ?
Brad DeMorrow
@iarebatman
I'm having trouble setting an md-input to have focus via JavaScript.. Even just with the console.. Is there a trick to it?
Daniel Barrett
@dmbarrett
@iarebatman
TJ Walsh
@ibtjw
i’m using md-tabs with md-strech-tabs=“always” and each tab represents a differnent state - the issue i’m having is that i’m unable to click anywhere on the tab to get the the desired state.. i can only click on the ui-sref link
it looks like it might be a padding issue? has anyone had this problem?
in other words, the whole tab is not clickable
btinoco
@btinoco
Hello Everyone, md-dialog background does not extend when used in scrollable page. anyone experiencing this? Version 1.0.6? I have a md-dialog and a md-sidenav with background/backdrop that do not cover the whole document when used in a scrollable page.
Kodanda
@bankurukodanda
Hi guys how validate radio button in angularjs
Philipp
@psr1919plus21
Hi, everybody!
I have import in my ts file: import {MdButton, MdAnchor} from '@angular2-material/button';
But, suddenly, after another npm i this import throw exception like this: Module build failed: Error: Cannot resolve module '@angular2-material/button'.
Is anybody has an idea how can I fix it?
Amanuel
@amanuel2
Hey everyone! Im currently activly developing a forum application in Pure AngularJS(First OpenSource Forum App.). If anyone can contribute positvely to my project, it would be the best thing in the world! Thanks for reading my opensource project is at github located : https://github.com/amanuel2/ng-forum ! :smile:
Eugene Serkin
@jeserkin
@amanuel2 are you joking?
Hi! Guys is there a transparent material desing loader, that can be used otside material design project?
Amanuel
@amanuel2
@jeserkin joking about what?
Eugene Serkin
@jeserkin
About posting in all angular rooms. This is called spam.
Amanuel
@amanuel2
I just posted in AngularJS And Material
Thats not spam @jeserkin
Eugene Serkin
@jeserkin
angular, angular.js and material