mirror of
https://github.com/apache/superset.git
synced 2026-04-25 02:55:07 +00:00
feat: upgrade react-select and make multi-select sortable (#9628)
* feat: upgrade react-select v1.3.0 to v3.1.0 Upgrade `react-select`, replace `react-virtualized-select` with a custom solution implemented with `react-window`. Future plans include deprecate `react-virtualized` used in other places, too. Migrate all react-select related components to `src/Components/Select`. * Fix new list view * Fix tests * Address PR comments * Fix a flacky Cypress test * Adjust styles for Select in CRUD ListView * Fix loadOptions for owners select in chart PropertiesModal TODO: add typing support for AsyncSelect props. * Address PR comments; allow isMulti in SelectControl, too * Clean up NaN in table filter values * Fix flacky test
This commit is contained in:
@@ -59,7 +59,6 @@ export const NUM_METRIC = {
|
||||
aggregate: 'SUM',
|
||||
sqlExpression: null,
|
||||
hasCustomLabel: false,
|
||||
fromFormData: false,
|
||||
label: 'Sum(num)',
|
||||
optionName: 'metric_1de0s4viy5d_ly7y8k6ghvk',
|
||||
};
|
||||
@@ -71,6 +70,5 @@ export const SIMPLE_FILTER = {
|
||||
comparator: ['Aaron', 'Amy', 'Andrea'],
|
||||
clause: 'WHERE',
|
||||
sqlExpression: null,
|
||||
fromFormData: true,
|
||||
filterOptionName: 'filter_4y6teao56zs_ebjsvwy48c',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user