Closed aviadhahami closed 8 years ago
Ok, as I suspected this prop exists in TextField.js#L13 yet not exposed in the official docs. Any particular reason for there?
the value
props is standard in React
http://facebook.github.io/react-native/releases/0.32/docs/textinput.html#value
@antoinerousseau yes, but this is a higher-order component thus it is not obvious
ok you can close this issue then ;)
I'm the docs I mention all props are passed to the TextField component, and link to the TextField props documentation. I have an example of using the TextField props to display a numeric keyboard. Maybe adding an example with the value prop will help? I'm not going to document all the TextField props though.
@evblurbs yes, I think this can help as this is a common usecase @antoinerousseau but ummm
Hi, I would like to suggest a feature. This will expose a prop
initialContent = "myString"
which will yield the component with the text already inserted (some like binding an input field to scope variable in angular)