angular.js icon indicating copy to clipboard operation
angular.js copied to clipboard

dynamic element validation

Open hyusetiawan opened this issue 14 years ago • 235 comments

I have a problem with validating inputs that are generated dynamically. Here is the fiddle that shows the problem: http://jsfiddle.net/flsilva/8JzDb/17/

this is taken from: https://groups.google.com/forum/?fromgroups=#!topic/angular/qLeUWZVuQMI

the name is generated fine but it's not bound to the form scope. Because I can name it correctly but the form is not bound, it seems that this behavior is inconsistent.

Thoughts?

hyusetiawan avatar Sep 21 '12 22:09 hyusetiawan

hey, I wrote the decorator! oh fine guys... (kidding, kidding)

caitp avatar Mar 18 '14 21:03 caitp

Just about done with the Dart forms demo. Sorry this is taking so long.

matsko avatar Mar 19 '14 02:03 matsko

True, @caitp is the author of the brilliant workaround and I've merely created a decorator using it :+1:

Anyways, it's about time we had an underlying fix in the core instead of workarounds... Is there a PR for that ?

Thinkscape avatar Mar 19 '14 09:03 Thinkscape

As Matias said, he's been working on this in Dart for a while now, and the Dart implementation takes a slightly different approach. I guess we need to come up with a decision as to whether the greater complexity of the approach in Dart is worth it.

caitp avatar Mar 19 '14 12:03 caitp

Yes exactly. Thanks @caitp for clarifying that.

matsko avatar Mar 19 '14 13:03 matsko

+1

mikerandall avatar Mar 19 '14 15:03 mikerandall

+1

martin-wintz avatar Mar 24 '14 20:03 martin-wintz

+1

ramonjd avatar Apr 03 '14 10:04 ramonjd

+1

reyx avatar Apr 03 '14 14:04 reyx

+1

ericsteele avatar Apr 03 '14 18:04 ericsteele

+1

dariocravero avatar Apr 04 '14 10:04 dariocravero

+1

rose-m avatar Apr 05 '14 07:04 rose-m

+1

vsych avatar Apr 07 '14 12:04 vsych

+1

antonversal avatar Apr 07 '14 12:04 antonversal

+1

rilian avatar Apr 07 '14 12:04 rilian

+1

lynndylanhurley avatar Apr 07 '14 23:04 lynndylanhurley

+1

ey-intuitive avatar Apr 08 '14 03:04 ey-intuitive

+1

genius1 avatar Apr 12 '14 23:04 genius1

+1

sirhcybe avatar Apr 16 '14 21:04 sirhcybe

+1

jeanmartin avatar Apr 19 '14 22:04 jeanmartin