Tcomb-form-native: Datepicker launch crashes on React Native v0.41.2

Created on 7 Feb 2017  路  5Comments  路  Source: gcanti/tcomb-form-native

Version

  • tcomb-form-native v0.6.0
  • react-native v0.41.2

Expected behaviour

When I click a date / datetime field, a Datepicker should pop up

Actual behaviour

App crashes

Steps to reproduce

  1. Add a date field as usual t.Date
  2. Launch app and try to click on the field for the Datepicker popup
  3. CRASH...

Stack trace and console log

TypeError: expected dynamic type `double', but had type `string'
getDouble
    ReadableNativeMap.java:-2
createFragmentArguments
    DatePickerDialogModule.java:172
open
    DatePickerDialogModule.java:159
invoke
    Method.java:-2
invoke
    BaseJavaModule.java:319
invoke
    JavaModuleWrapper.java:158
run
    NativeRunnable.java:-2
handleCallback
    Handler.java:739
dispatchMessage
    Handler.java:95
dispatchMessage
    MessageQueueThreadHandler.java:31
loop
    Looper.java:148
run
    MessageQueueThreadImpl.java:196
run
    Thread.java:818

screenshot_1486430611

Most helpful comment

@casoetan What did you do to resolve? I'm having this same problem

All 5 comments

Hi!

@casoetan is this issue still present?

Fixed.

@casoetan What did you do to resolve? I'm having this same problem

@sdstolworthy Same.

having the same issue: @casoetan please let me know how you resolved this issue React Native v0.47

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ishigamii picture ishigamii  路  3Comments

sibelius picture sibelius  路  4Comments

chauthai picture chauthai  路  4Comments

timdoes picture timdoes  路  4Comments

sibelius picture sibelius  路  5Comments