Unplanned
Last Updated: 17 Sep 2024 13:37 by Rene
Created by: Rene
Comments: 0
Category: Filter
Type: Feature Request
1
It would be great if the Filter component had a placeholder prop
Unplanned
Last Updated: 15 Jan 2024 06:29 by ADMIN

Greetings,

For the External Filter, I would like to have the ability to search for column names at the first DropDownList label field like this one: React Dropdowns Library & DropDownList Component - Filtering - KendoReact Docs & Demos (telerik.com)

Please see the attached image for clarification.

 

Thanks!

Unplanned
Last Updated: 18 Jul 2023 13:40 by ADMIN
Created by: Drew
Comments: 1
Category: Filter
Type: Feature Request
0

It would be really helpful to a have a disabled (or read-only) prop for the Filter component.

Basically you would just need to pass down the disabled prop to all of the children Inputs.

It would be extra helpful if this could be controlled on a per input type basis, like disable all fieldInputs, operatorInputs, or valueInputs, or closeInputs.

disabled = {
  field?: boolean,
  operator?: boolean,
  value?: boolean,
  close?: boolean,
  logic?: boolean,
  addExpression?: boolean,
  addGroup?: boolean 
}

In addition, it would be helpful if there could also be the option of making it data driven from the FilterDescriptor object like this:

const initialFilter = {
  logic: 'and',
  disabled: true,
  filters: [
    {
      field: 'Name',
      operator: 'eq',
      value: "Uncle Bob's Organic Dried Pears",
      disabled: false
    },
  ],
};
Currently the only option for disabling the Filter (while following proper UX guidelines) is to completely build a custom filter with individual components and manually styling it.