udos86 / ng-dynamic-forms

Rapid form development library for Angular
ISC License
1.32k stars 367 forks source link

Missing getter for property list on dynamic-input.model.ts #1102

Open vstiebe opened 4 years ago

vstiebe commented 4 years ago

I'm submitting a


[x] Bug / Regression
[ ] Feature Request / Proposal

I'm using

NG Dynamic Forms Version: 12.0.0

[ ] Basic UI [ ] Bootstrap UI
[ ] Foundation UI [ ] Ionic UI [ ] Kendo UI [ ] Material
[ ] NG Bootstrap [x] Prime NG

Description

Because of missing getter for property liston dynamic-input.model.ts the p-autocomplete is never used. The test Array.isArray on dynamic-primeng-form-control-container.component.ts line 141 always returns false because of the missing getter.

} else if (Array.isArray(inputModel.list)) { return DynamicPrimeNGAutoCompleteComponent;