Skip to content

Commit 5af583e

Browse files
committed
chore: naming
1 parent 6373c7b commit 5af583e

File tree

1 file changed

+5
-5
lines changed
  • showcases/react-showcase/src/components/form

1 file changed

+5
-5
lines changed

showcases/react-showcase/src/components/form/index.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const FormComponent = () => {
3737
const [accordionItems, setAccordionItems] = useState<ValueLabelType[]>();
3838
const [tabsTest, setTabsTest] = useState<boolean>(false);
3939

40-
const [multiSelectValue, setMultiSelectValue] = useState<
40+
const [customSelectValue, setCustomSelectValue] = useState<
4141
string[] | undefined
4242
>(['o2']);
4343

@@ -527,16 +527,16 @@ const FormComponent = () => {
527527
selectAllLabel="Select all"
528528
searchLabel="Search"
529529
noResultsText="No matching filter"
530-
values={multiSelectValue}
530+
values={customSelectValue}
531531
onOptionSelected={(value) => {
532-
setMultiSelectValue(value);
532+
setCustomSelectValue(value);
533533
}}
534534
/>
535535
<DBButton
536536
onClick={() => {
537-
setMultiSelectValue([]);
537+
setCustomSelectValue([]);
538538
}}>
539-
Reset Multiselect
539+
Reset CustomSelect
540540
</DBButton>
541541
<DBButton type="submit">Submit</DBButton>
542542
</form>

0 commit comments

Comments
 (0)