clearable table clone

This commit is contained in:
shamsmosowi
2021-09-13 10:11:25 +10:00
parent 5ac07a0bc2
commit ddaf99ee45
2 changed files with 2 additions and 1 deletions

View File

@@ -187,6 +187,7 @@ export const tableSettings = (
labelPlural: "Tables",
options: tables,
freeText: false,
clearable: true,
itemRenderer: (option: { value: string; label: string }) => (
<span key={option.value}>
{option.label}

View File

@@ -110,7 +110,7 @@ const ConditionModal = ({ modal, setModal, conditions, setConditions }) => {
multiple={false}
label={"Select data type"}
/>
<Typography variant="overline">Condition</Typography>
<Typography variant="overline">Condition </Typography>
{modal.condition.type === "boolean" && (
<MultiSelect
options={[