Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
react-native-picker
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ym
react-native-picker
Commits
3db45e28
Commit
3db45e28
authored
Dec 23, 2015
by
xwenliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix issue#4
parent
426c9f91
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
index.js
index.js
+5
-5
No files found.
index.js
View file @
3db45e28
...
@@ -155,7 +155,7 @@ export default class PickerAny extends React.Component {
...
@@ -155,7 +155,7 @@ export default class PickerAny extends React.Component {
let
me
=
this
;
let
me
=
this
;
return
pickerData
.
map
((
item
,
index
)
=>
{
return
pickerData
.
map
((
item
,
index
)
=>
{
return
(
return
(
<
View
style
=
{
styles
.
pickerWheel
}
>
<
View
style
=
{
styles
.
pickerWheel
}
key
=
{
index
}
>
<
Picker
<
Picker
selectedValue
=
{
me
.
state
.
selectedValue
[
index
]}
selectedValue
=
{
me
.
state
.
selectedValue
[
index
]}
onValueChange
=
{
value
=>
{
onValueChange
=
{
value
=>
{
...
@@ -168,7 +168,7 @@ export default class PickerAny extends React.Component {
...
@@ -168,7 +168,7 @@ export default class PickerAny extends React.Component {
<
PickerItem
<
PickerItem
key
=
{
index
}
key
=
{
index
}
value
=
{
value
}
value
=
{
value
}
label
=
{
value
}
label
=
{
value
.
toString
()
}
/>
)
/>
)
)}
)}
<
/Picker
>
<
/Picker
>
...
@@ -253,7 +253,7 @@ export default class PickerAny extends React.Component {
...
@@ -253,7 +253,7 @@ export default class PickerAny extends React.Component {
<
PickerItem
<
PickerItem
key
=
{
index
}
key
=
{
index
}
value
=
{
index
}
value
=
{
index
}
label
=
{
value
}
label
=
{
value
.
toString
()
}
/>
)
/>
)
)}
)}
<
/Picker
>
<
/Picker
>
...
@@ -293,7 +293,7 @@ export default class PickerAny extends React.Component {
...
@@ -293,7 +293,7 @@ export default class PickerAny extends React.Component {
<
PickerItem
<
PickerItem
key
=
{
index
}
key
=
{
index
}
value
=
{
value
}
value
=
{
value
}
label
=
{
value
}
label
=
{
value
.
toString
()
}
/>
)
/>
)
)}
)}
<
/Picker
>
<
/Picker
>
...
@@ -322,7 +322,7 @@ export default class PickerAny extends React.Component {
...
@@ -322,7 +322,7 @@ export default class PickerAny extends React.Component {
<
PickerItem
<
PickerItem
key
=
{
index
}
key
=
{
index
}
value
=
{
index
}
value
=
{
index
}
label
=
{
value
}
label
=
{
value
.
toString
()
}
/>
)
/>
)
)}
)}
<
/Picker
>
<
/Picker
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment