SelectButton documentation

UI Components for React
Post Reply
marek@qics.nl
Posts: 1
Joined: 13 May 2021, 15:31

17 May 2021, 22:04

Documentation is describing Dropdown properties. Code example in TS section does not work, when array of objects with name and value fields is passed to options property. Runtime error: Uncaught Error: Objects are not valid as a React child.

mert.sincan
Posts: 4741
Joined: 29 Jun 2013, 12:38

14 Jun 2021, 17:09

Hi,

Could you please try it again? Exp;
https://codesandbox.io/s/662vm?file=/sr ... onDemo.tsx

Best Regards,

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests