diff --git a/.changeset/tidy-parrots-burn.md b/.changeset/tidy-parrots-burn.md
new file mode 100644
index 00000000..17f7160d
--- /dev/null
+++ b/.changeset/tidy-parrots-burn.md
@@ -0,0 +1,5 @@
+---
+'@mobile-reality/react-native-select-pro': patch
+---
+
+`defaultOption` prop fix
diff --git a/apps/expo/src/examples/basic.tsx b/apps/expo/src/examples/basic.tsx
index 9b80cf55..1182b64a 100644
--- a/apps/expo/src/examples/basic.tsx
+++ b/apps/expo/src/examples/basic.tsx
@@ -8,6 +8,14 @@ export const Basic = () => {
return (
+
+
);
};
diff --git a/packages/react-native-select-pro/src/state/reducer.ts b/packages/react-native-select-pro/src/state/reducer.ts
index 299e5b66..0a9769ca 100755
--- a/packages/react-native-select-pro/src/state/reducer.ts
+++ b/packages/react-native-select-pro/src/state/reducer.ts
@@ -90,9 +90,10 @@ export const reducer = (state: State, action: ActionType): State =>
const setDefaultOption = (options: OptionsType, defaultOption: OptionType | undefined) => {
if (isValidDefaultOption(defaultOption) && options.length > 0) {
const isSectionedOptions = isSectionOptionsType(options);
+
const foundIndex = isSectionedOptions
- ? getReducedSectionData(options).indexOf(defaultOption)
- : options.indexOf(defaultOption);
+ ? getReducedSectionData(options).findIndex((item) => item.value === defaultOption.value)
+ : options.findIndex((item) => item.value === defaultOption.value);
if (foundIndex !== -1) {
return {