mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
chore: Split Select component into Async and Sync components (#20466)
* Created AsyncSelect Component Changed files to reference AsyncSelect if needed * modified import of AsyncSelect, removed async tests and prefixes from select tests * fixed various import and lint warnings * fixing lint errors * fixed frontend test errors * fixed alertreportmodel tests * removed accidental import * fixed lint errors * updated async select
This commit is contained in:
@@ -25,7 +25,7 @@ import Alert from 'src/components/Alert';
|
||||
import Badge from 'src/components/Badge';
|
||||
import shortid from 'shortid';
|
||||
import { styled, SupersetClient, t, withTheme } from '@superset-ui/core';
|
||||
import { Select, Row, Col } from 'src/components';
|
||||
import { Select, AsyncSelect, Row, Col } from 'src/components';
|
||||
import { FormLabel } from 'src/components/Form';
|
||||
import Button from 'src/components/Button';
|
||||
import Tabs from 'src/components/Tabs';
|
||||
@@ -548,7 +548,7 @@ function OwnersSelector({ datasource, onChange }) {
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<Select
|
||||
<AsyncSelect
|
||||
ariaLabel={t('Select owners')}
|
||||
mode="multiple"
|
||||
name="owners"
|
||||
|
||||
Reference in New Issue
Block a user