Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Picker iOS errror #22

Open
mbs8 opened this issue Oct 31, 2018 · 1 comment
Open

Picker iOS errror #22

mbs8 opened this issue Oct 31, 2018 · 1 comment

Comments

@mbs8
Copy link

mbs8 commented Oct 31, 2018

simulator screen shot - iphone 6 - 2018-10-31 at 10 18 53

I had this issue when tried to use the picker field, I think the error is in:
picker/index.js#L27
on line 57

      <View
        style={Object.assign(styles.pickerMainIOS, {
          backgroundColor: theme.pickerBgColor,
          borderBottomColor: theme.inputBorderColor,
          borderBottomWidth: theme.borderWidth,
        })}
     >

It works fine like this:

      <View
        style={{...styles.pickerMainIOS, ...{
          backgroundColor: theme.pickerBgColor,
          borderBottomColor: theme.inputBorderColor,
          borderBottomWidth: theme.borderWidth,
        }}}
      >
@angelalalachang
Copy link

I also got the same issue, and making the changes suggested above on Line 57 /src/fields/picker/index.js fixed it. Thank you @mbs8 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants