Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Missing blurlistener/focuslistener for text fields #523

Closed
tdekoning opened this issue Nov 3, 2014 · 3 comments
Closed

Missing blurlistener/focuslistener for text fields #523

tdekoning opened this issue Nov 3, 2014 · 3 comments

Comments

@tdekoning
Copy link

Regular text fields in angular have the ng-blur and ng-focus attributes, but they seem to be missing in this library. They should work the same as the ng-change of the checkbox directive.

Is it possible to add them?

@tdekoning tdekoning changed the title Missing blurlistener/focuslistener for input fields Missing blurlistener/focuslistener for text fields Nov 3, 2014
@Frank3K
Copy link
Contributor

Frank3K commented Nov 4, 2014

I think these directives should be added to the <input> element that is generated for the <md-text-field>. Note that there are more directives that need this (e.g ng-change) in order to work as expected.

@Frank3K
Copy link
Contributor

Frank3K commented Nov 4, 2014

Also, properties like ng-minlength and ng-maxlength are not set on the corresponding <input>.

@ajoslin
Copy link
Contributor

ajoslin commented Nov 6, 2014

#547

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants