primeng icon indicating copy to clipboard operation
primeng copied to clipboard

[(ngModel)] for Autocomplete and Multi-Select is not working after upgrading to beta.9.

Open swarke opened this issue 10 years ago • 4 comments

Reference - http://forum.primefaces.org/viewtopic.php?f=35&t=46205&sid=1274ab536c35961643b7ee0ee74515b0

ORIGINAL EXCEPTION: No value accessor for '' ORIGINAL STACKTRACE: Error: No value accessor for '' at new BaseException (http://localhost:5555/node_modules/@angular/forms/src/facade/exceptions.js:20:23) at _throwError (http://localhost:5555/node_modules/@angular/forms/src/directives/shared.js:47:11) at Object.setUpControl (http://localhost:5555/node_modules/@angular/forms/src/directives/shared.js:22:9) at NgModel._addStandaloneControl (http://localhost:5555/node_modules/@angular/forms/src/directives/ng_model.js:84:18) at NgModel._addControl (http://localhost:5555/node_modules/@angular/forms/src/directives/ng_model.js:80:18) at NgModel.ngOnChanges (http://localhost:5555/node_modules/@angular/forms/src/directives/ng_model.js:38:18)

swarke avatar Jul 05 '16 07:07 swarke

Please refer the answer here: https://github.com/primefaces/primeng/issues/549

sdmoralesma avatar Jul 05 '16 07:07 sdmoralesma

@sdmoralesma Sorry . I don't understand your solution . I have same problem , I use angular Rc4 . when I use [(model)] instead [(ngModel)] . I can't get data from Autocomplete Multiple

ducduongtmb avatar Jul 21 '16 11:07 ducduongtmb

You can check other solutions that are explained, I know that some people had good results with different approaches. That depends on you configuration.

sdmoralesma avatar Jul 21 '16 12:07 sdmoralesma

Please try with the latest PrimeNG version and comment if the issue still persists.

Mrtcndkn avatar May 04 '17 11:05 Mrtcndkn