Skip to content

Commit 560bf52

Browse files
committed
chore: udpate README
1 parent b959e8b commit 560bf52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ yarn add react-native-element-dropdown
4343
| data | Array | Yes | Data is a plain array |
4444
| labelField | String | Yes | Extract the label from the data item |
4545
| valueField | String | Yes | Extract the primary key from the data item |
46-
| searchField | String | Yes | Specify the field of data list you want to search |
46+
| searchField | String | No | Specify the field of data list you want to search |
4747
| onChange | (item: object) => void | Yes | Selection callback |
4848
| onChangeText | (search: string) => void | Yes | Callback that is called when the text input's text changes |
4949
| value | Item | No | Set default value |
@@ -98,7 +98,7 @@ yarn add react-native-element-dropdown
9898
| data | Array | Yes | Data is a plain array |
9999
| labelField | String | Yes | Extract the label from the data item |
100100
| valueField | String | Yes | Extract the primary key from the data item |
101-
| searchField | String | Yes | Specify the field of data list you want to search |
101+
| searchField | String | No | Specify the field of data list you want to search |
102102
| onChange | (value[]) => void | Yes | Selection callback. A array containing the "valueField". |
103103
| onChangeText | (search: string) => void | Yes | Callback that is called when the text input's text changes |
104104
| value | Item[] | No | Set default value. A array containing the "valueField". |

0 commit comments

Comments
 (0)