Skip to content

Bug: Unable to set a SelectionColor Property in TextInput Component #401

@syedabuthahirm

Description

@syedabuthahirm

Current behaviour

SelectionColor Property Doesn't work on TextInput Component. Currently, it's checking error and error color variables from props.
Reference Links:
Variable Declartion in TextInput Component
Variable Used in TextInput Component

Expected behaviour

It Should Accept any color

Code sample

 <TextInput
      label='Email'
      selectionColor={'#F8DE7E'}
      value={this.state.text}
      onChangeText={text => console.log(text) }
 />

Your Environment

software version
ios or android Android
react-native 0.54.0
react-native-paper 1.9.1
node 8.11.2
npm or yarn 4.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions