react-native-boxes 1.4.18 → 1.4.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/Modal.tsx +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-boxes",
3
- "version": "1.4.18",
3
+ "version": "1.4.19",
4
4
  "description": "A react native library for rapid development of UI using boxes",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/Modal.tsx CHANGED
@@ -484,7 +484,7 @@ export const DropDownView = (props: DropDownViewProps) => {
484
484
  readOnly={true}
485
485
  placeholder={props.title}
486
486
  {...props}
487
- value={getSelected()?.title || getSelected()?.id}
487
+ value={getSelected()?.title || getSelected()?.id || props.title}
488
488
  onIconPress={() => { setVisible(true) }}
489
489
  icon={"caret-down"}
490
490
  pointerEvents="none"