Skip to content

Commit

Permalink
Implemented Mx tabIndex
Browse files Browse the repository at this point in the history
Implemented Mendix tabIndex
  • Loading branch information
JelleDekker committed Oct 20, 2023
1 parent e2b2c7c commit 150669e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bizzomatereactselect",
"widgetName": "BizzomateReactSelect",
"version": "1.2.4",
"version": "1.2.5",
"description": "React Select implementation for Mendix",
"copyright": "© Bizzomate BV 2023. All rights reserved.",
"author": "Jelle Dekker",
Expand Down
4 changes: 3 additions & 1 deletion src/BizzomateReactSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ export function BizzomateReactSelect({
searchCaption,
disabledAttr,
unstyled,
placeholderText
placeholderText,
tabIndex
}: BizzomateReactSelectContainerProps): ReactElement {
const [options, setOptions] = useState<readonly MxOption[]>();
const [value, setValue] = useState<PropsValue<MxOption>>();
Expand Down Expand Up @@ -154,6 +155,7 @@ export function BizzomateReactSelect({
return (
<Fragment>
<Select
tabIndex={tabIndex}
options={options}
value={value}
// @ts-ignore
Expand Down
2 changes: 1 addition & 1 deletion src/package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="BizzomateReactSelect" version="1.2.4" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="BizzomateReactSelect" version="1.2.5" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="BizzomateReactSelect.xml"/>
</widgetFiles>
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
"baseUrl": "./"
},
"include": ["./src", "./typings"]
}
}

0 comments on commit 150669e

Please sign in to comment.