select-harlequinS
Refine15mo ago
3 replies
select-harlequin

Nothing happens when I click on filter

<Table.Column<Template>
            dataIndex="base"
            title="Base"
            defaultFilteredValue={getDefaultFilter('base', filters, 'eq')}
            filterIcon={<FilterFilled />}
            filterMultiple={false}
            filterDropdown={(props) => (
              <FilterDropdown
                {...props}
                mapValue={(selectedKeys) => {
                  return selectedKeys;
                }}
              >
                <Radio.Group>
                  <Radio value={true}>Yes</Radio>
                  <Radio value={false}>No</Radio>
                </Radio.Group>
              </FilterDropdown>
            )}
            render={(value, record) => (
              <BooleanField
                value={record.base}
                trueIcon={<CheckCircleTwoTone twoToneColor="#007965" />}
                falseIcon={<CloseCircleTwoTone twoToneColor="#ad001d" />}
                valueLabelTrue="Yes"
                valueLabelFalse="No"
              />
            )}
          />

When I click on the Filter button in the Filter Dropdown, nothing happens, no filter gets applied.
Was this page helpful?