Error rendering dropdown widget - Minified React error #185

0
Hi,   I've this datagrid 2 with multiple filters on it (not column filters). In a dropfown filter, set to Multiselect, I now get this error after clicking fast and selecting a number of drop down options.   The datagrid's Page size is set to 100.   The page size plays a role: the higher the Page size, the easier it is to get the error, selecting multiple drop down options. Set to 20, it is quite hard to get the error.   Anybody experiencing the same? Ideas to solve it?
asked
1 answers
0

This issue is a known rendering bug in Data Grid 2 (especially when using multi-select dropdown filters with large page sizes). It happens when the user makes quick successive selections — the widget re-renders before the previous request finishes, causing a “Could not render widget…” error.

Workarounds

  1. Reduce page size (e.g., from 100 → 20 or 50) – lowers render load.

  2. Debounce the filter – avoid rapid re-renders by letting each filter action finish before the next (custom JS or wait for official fix).

  3. Upgrade widgets – make sure you’re using the latest version of Data Grid 2 and Dropdown Filter in Marketplace. Several releases after Mendix 10.22 fixed partial render issues.

  4. Avoid multi-select filters with large datasets – use reference selectors or pop-up filters instead.

Why it happens

  • Each multi-select change triggers a full grid reload.

  • With a high page size, multiple async fetches overlap.

  • The widget fails to mount properly before the previous DOM update completes.

If updating to the latest widget version (and clearing cache) doesn’t fix it, raise a ticket with Mendix Support including:

  • Mendix version, widget version, and browser console logs.

answered