Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

It's not possible to remove a value from <input type="number"> programatically. #415

Closed
RobertSzymacha opened this issue Jan 17, 2014 · 1 comment
Milestone

Comments

@RobertSzymacha
Copy link

Although one can remove the value from an <input type="number"> manually (e.g. by pressing backspace), it's not possible to do it from Dart code, as all the values such as null, NaN are simply ignored (see lib/directive/ng_model.dart).

There should be a way to clear that value in Dart code.

@ghost ghost assigned matsko Jan 22, 2014
@jbdeboer
Copy link
Contributor

How would we do this outside of AngularDart? e.g. can you remove the number with plain dart:html?

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

No branches or pull requests

4 participants