Skip to content

Commit

Permalink
geosolutions-it#10753: add helpful comment for valueRenderer prop in …
Browse files Browse the repository at this point in the history
…Select of react-select
  • Loading branch information
mahmoudadel54 committed Jan 15, 2025
1 parent e517be1 commit 12e0129
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/client/components/manager/users/UserGroups.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ class UserCard extends React.Component {
options={this.getOptions()}
onChange={this.onChange}
style={{marginTop: "10px"}}
// * NOTE: valueRenderer: is responsible for custom rendering for shwon selected values in react-select version 1.3.0
valueRenderer={this.customValueRenderer}
/>);
};
Expand Down

0 comments on commit 12e0129

Please sign in to comment.