react-native-gifted-form
react-native-gifted-form copied to clipboard
TextInputWidget `value` is hardcoded but can still enter text
Hi. I hardcode TextInputWidget with a value
but I am still able to enter text:
<GiftedForm.TextInputWidget
name={'input'}
value={"THIS VALUE"}
// autoFocus={true}
placeholder={placeholder}
clearButtonMode='while-editing'
widgetStyles={{
rowContainer: styles.widgetContainerStyle,
textInputInline: styles.inputTextStyle
}}
It seems like it's ignoring the value of 'value'. I basically want to control that value from redux completely. Is this a bug or am I missing how to do this?
Thanks.
<GiftedForm.TextInputWidget
...
editable={false}
...
/>