Last active
January 15, 2016 06:32
-
-
Save montogeek/586459f1a8e31f396032 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Doing this: | |
const amountStyles = { | |
paddingTop: 50 | |
} | |
const expenseOptions = { | |
fields: { | |
amount: { | |
stylesheet: amountStyles, | |
placeholder: '$ 0.00' | |
} | |
} | |
} | |
// Triggers this error: | |
Cannot read property 'normal' of undefined | |
textbox.js | |
// What is the correct structure? | |
p.s. open an issue if something is not clear in the documentation (or you have suggestions to improve it). Also PRs are very appreciated
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can see the structure here https://github.com/gcanti/tcomb-form-native/blob/master/lib/stylesheets/bootstrap.js#L62
basically an object with 3 keys corresponding to 3 possible textbox states