udos86 / ng-dynamic-forms

Rapid form development library for Angular

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

vstiebe opened this issue · comments

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 list on 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;