Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beef up docs about not supporting non-standard operators #8896

Closed
ghulamghousdev opened this issue Mar 27, 2024 · 1 comment
Closed

Beef up docs about not supporting non-standard operators #8896

ghulamghousdev opened this issue Mar 27, 2024 · 1 comment
Assignees
Labels
docs Improvements or additions to documentation forum Issues from forum large-account Reported by large customer resolved Fixed but not yet released (available in the nightly builds)
Milestone

Comments

@ghulamghousdev
Copy link
Member

Forum post

Note: There is no crash when filter is applied through the header.

  1. Go to https://bryntum.com/products/grid/examples/fieldfilters/
  2. Add the following operators in the config:
const getFieldFilterPickerConfig = (filter) =>
  filter.id === "permanent-filter-1"
    ? {
        // Disable property and operator for the permanent filter
        propertyLocked: true,
        operatorLocked: true,
      }
    : {
        operators: {
          string: [
            { value: "=", text: "custom equals" },
            { value: "<>", text: "custom not equals" },
            { value: "includes", text: "custom includes" },
            { value: "doesNotInclude", text: "custom not includes" },
          ],
        },
      };
  1. Click on add filter in the panel
  2. Choose food field
  3. Choose custom not equals operator
  4. Add value and there's comes the crash

Clip:

Screen.Recording.2024-03-27.at.3.03.42.PM.mov
@ghulamghousdev ghulamghousdev added bug Something isn't working forum Issues from forum large-account Reported by large customer labels Mar 27, 2024
@emilschutte
Copy link

Hi @ghulamghousdev, does it work with != instead of <>?

@ghulamghousdev ghulamghousdev changed the title Crash When Filtering with Custom Operators Beef docs about not supporting non-standard operators Mar 29, 2024
@ghulamghousdev ghulamghousdev added docs Improvements or additions to documentation and removed bug Something isn't working labels Mar 29, 2024
@ghulamghousdev ghulamghousdev changed the title Beef docs about not supporting non-standard operators Beef up docs about not supporting non-standard operators Mar 29, 2024
@ghulamghousdev ghulamghousdev self-assigned this Apr 3, 2024
@ghulamghousdev ghulamghousdev added the ready for review Issue is fixed, the pull request is being reviewed label Apr 3, 2024
@isglass isglass added resolved Fixed but not yet released (available in the nightly builds) and removed ready for review Issue is fixed, the pull request is being reviewed labels Apr 17, 2024
@isglass isglass added this to the 5.6.10 milestone Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation forum Issues from forum large-account Reported by large customer resolved Fixed but not yet released (available in the nightly builds)
Projects
None yet
Development

No branches or pull requests

3 participants