Remove unused code
This commit is contained in:
parent
0d88bd4f4a
commit
6e68c0b4da
1 changed files with 0 additions and 45 deletions
|
@ -436,51 +436,6 @@ const FilterContent: React.FC<FilterContentProps> = ({
|
|||
setDisplayValues={setAutocompleteDisplayValues}
|
||||
onFilterPropertyChange={onFilterPropertyChange}
|
||||
/>
|
||||
// <MultiAutocompleteSelectField
|
||||
// displayValues={
|
||||
// autocompleteDisplayValues[filterField.name]
|
||||
// }
|
||||
// label={filterField.label}
|
||||
// choices={filterField.options}
|
||||
// name={filterField.name}
|
||||
// value={filterField.value}
|
||||
// // helperText={intl.formatMessage({
|
||||
// // defaultMessage:
|
||||
// // "*Optional. Adding product to collection helps users find it.",
|
||||
// // description: "field is optional"
|
||||
// // })}
|
||||
// onChange={createMultiAutocompleteSelectHandler(
|
||||
// event =>
|
||||
// onFilterPropertyChange({
|
||||
// payload: {
|
||||
// name: filterField.name,
|
||||
// update: {
|
||||
// value: toggle(
|
||||
// event.target.value,
|
||||
// filterField.value,
|
||||
// (a, b) => a === b
|
||||
// )
|
||||
// }
|
||||
// },
|
||||
// type: "set-property"
|
||||
// }),
|
||||
// value =>
|
||||
// setAutocompleteDisplayValues({
|
||||
// ...autocompleteDisplayValues,
|
||||
// [filterField.name]: toggle(
|
||||
// value[0],
|
||||
// autocompleteDisplayValues[filterField.name],
|
||||
// (a, b) => a.value === b.value
|
||||
// )
|
||||
// }),
|
||||
// [],
|
||||
// filterField.options
|
||||
// )}
|
||||
// fetchChoices={filterField.onSearchChange}
|
||||
// loading={filterField.loading}
|
||||
// data-tc={filterField.name}
|
||||
// key={filterField.name}
|
||||
// />
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
|
|
Loading…
Reference in a new issue