With that basic setup I got exception
dart_sdk.js:98521 EXCEPTION: Assertion failed: org-dartlang-app:///packages/angular_forms/src/directives/shared.dart:25:7
dir.valueAccessor != null
"No value accessor for () or you may be missing formDirectives in your directives list."
If I comment out first materiald-dropdown-select i got
"No value accessor for (test2) or you may be missing formDirectives in your directives list."
model is created in component constructor so lifecycle should not be an isse here .
Commenting out both dropdowns makes at least inputs work almost as expected (binding is only from input to model, updaing model does not update other inputs)
What am I doint wrong? It works with plain Angular + TS.
I have following markup:
and backcode
I have added directrives like
With that basic setup I got exception dart_sdk.js:98521 EXCEPTION: Assertion failed: org-dartlang-app:///packages/angular_forms/src/directives/shared.dart:25:7 dir.valueAccessor != null "No value accessor for () or you may be missing formDirectives in your directives list."
If I comment out first materiald-dropdown-select i got
"No value accessor for (test2) or you may be missing formDirectives in your directives list."
model is created in component constructor so lifecycle should not be an isse here . Commenting out both dropdowns makes at least inputs work almost as expected (binding is only from input to model, updaing model does not update other inputs)
What am I doint wrong? It works with plain Angular + TS.