p-dropdown label property as object is not reflected correctly

UI Components for Angular
Post Reply
focosoft
Posts: 15
Joined: 13 Jun 2017, 00:57

21 Jun 2017, 01:20

I set a p-dropdown with a complex label. Is an object with two properties.
When the component is rendered the list is shown correctly, but the value in the textbox is [object, object] cause LABEL is not a string, but an object.
Is it possible to do a workaround?
When setting the VALUE property as object instead LABEL, i have some trouble to manage data...

Thanks
Max

focosoft
Posts: 15
Joined: 13 Jun 2017, 00:57

23 Jun 2017, 21:34

up

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 16 guests