Add className support to SelectButtonItems #1019
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
I'm submitting a ... (check one with "x")
Current behavior
SelectButton does not use className from SelectItem API. Looking at the code, either this line
primereact/src/components/selectbutton/SelectButtonItem.js
Line 70 in dc52c5a
primereact/src/components/selectbutton/SelectButtonItem.js
Line 71 in dc52c5a
should pull the className from the object defining the item. Neither does.
Expected behavior
CSS class specified via the SelectItem API should be applied
React version:
16.8.6
PrimeReact version:
Running 3.1.3, but checked source in Github for 3.2.1
The text was updated successfully, but these errors were encountered: