Skip to content

Commit

Permalink
pullquote fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dzonidoo committed Nov 13, 2023
1 parent 6805fb4 commit c2aae51
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ export class SelectMultipleValues extends React.Component<IProps> {
allowMultiple
fullWidth
kind="synchronous"
getId={(item) => item}
getLabel={(item) => item}
getOptions={() => items != null ? items.map((item) => ({value: item.label})) : []}
getId={(item) => item.id}
getLabel={(item) => item.label}
getOptions={() => items != null ? items.map((item) => ({value: item})) : []}
onChange={(item) => {
this.props.onChange(item);
this.props.onChange(item.map(({id}) => id));
}}
value={this.props.value}
value={items.filter(({id}) => this.props.value.includes(id))}
disabled={this.props.disabled}
label={this.props.formField.label}
inlineLabel
Expand Down

0 comments on commit c2aae51

Please sign in to comment.