Hello,
I'm missing the input type 'submit'.
<md-button /> doesn't seem to support the type attribute that <md-text-float /> have.
Is this an oversight, or am I just missing the relevant documentation?
Does this not work for you (using the latest committed code)?
<md-button type='submit'>Submit</md-button>
If not, please provide a plunker or codepen demonstrating this issue.
I'm using the latest bower package (https://github.com/angular/bower-material/releases/tag/v0.5.1-master-af1a5ca), and I get the following:
<button type="submit" class="md-button-inner">Login</button>
Can't you use <button class="md-button" type="submit">Login</button>?
Perhaps I should read the specs first next time.
@Evanion I may have misspoken. The preferred method is to use <md-button>. To work correctly, type="submit" should be copied to the nested, native button so that it will fire submit events. I just validated this on Plunker: http://plnkr.co/edit/np1n4JicBQEc2EuAgDQj
Well since md-button copies the type attribute to the
Most helpful comment
Does this not work for you (using the latest committed code)?
If not, please provide a plunker or codepen demonstrating this issue.