react-native-gifted-form icon indicating copy to clipboard operation
react-native-gifted-form copied to clipboard

TextInputWidget `value` is hardcoded but can still enter text

Open Jonovono opened this issue 6 years ago • 1 comments

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.

Jonovono avatar Nov 12 '17 00:11 Jonovono