There must be a "(login-form)" field on your component to store the form instance.
Stacktrace:
STACKTRACE:
There must be a "(login-form)" field on your component to store the form instance.
at dart.wrapException (http://localhost:14207/main.dart.js:2991:15)
at NgForm.dart.NgForm.set$name (http://localhost:14207/main.dart.js:13944:19)
at J.set$name$x (http://localhost:14207/main.dart.js:39456:39)
at closure56.dart.closure56.call$2 (http://localhost:14207/main.dart.js:20097:9)
at ClosureMapLocalsAware_lookupSetter_closure.dart.ClosureMapLocalsAware_lookupSetter_closure.call$2 (http://localhost:14207/main.dart.js:9974:77)
at AccessScopeFast.dart.AccessScopeFast.setter$2 (http://localhost:14207/main.dart.js:10209:26)
at AccessScopeFast.dart.AccessFast._assign$3 (http://localhost:14207/main.dart.js:10274:21)
at AccessScopeFast.dart.AccessScopeFast.assign$2 (http://localhost:14207/main.dart.js:10200:19)
at _UnwrapExceptionDecorator.dart._UnwrapExceptionDecorator.assign$2 (http://localhost:14207/main.dart.js:9829:31)
at J.assign$2$x (http://localhost:14207/main.dart.js:38889:39)
Changing the name attribute on the form and the NgTwoWay attribute on the component to loginForm seems to work in so far as the component will at least load. However legal hyphenated names in the html should be properly detected by AngularDart.
Given a form like the following:
and a component like the following:
I receive the following error:
Stacktrace:
Changing the name attribute on the form and the NgTwoWay attribute on the component to loginForm seems to work in so far as the component will at least load. However legal hyphenated names in the html should be properly detected by AngularDart.