react-native-material-dropdown icon indicating copy to clipboard operation
react-native-material-dropdown copied to clipboard

Double border when disabled={true}

Open lossen opened this issue 8 years ago • 2 comments

<Dropdown
                      disabled={!auto_invoicing}
                      label=" "
                      fontSize={17}
                      textColor={'rgb(102, 120, 144)'}
                      value={issueInvoices[issue_invoices].value}
                      onChangeText={(value,index) => this.setState({issue_invoices:index})}
                      inputContainerStyle={[{borderBottomColor: 'transparent',borderBottomWidth:0}]}
                      pickerStyle={{backgroundColor : "#fff",borderWidth:0}}
                      containerStyle={[styles.dropdown,{width:'auto',flex:1,borderWidth:0,paddingBottom:15}]}
                      data={issueInvoices}
                      renderAccessory={() => {return <Icon name="ios-arrow-down" style={{ ...styles.stackedInputIcon, ...styles.selectIcon,...styles.selectIconBlue }} />}}
                  />

2018-04-04 10 51 42

lossen avatar Apr 04 '18 04:04 lossen

Use the prop disabledLineType='none' to remove the second underline.

geraintwhite avatar Oct 03 '18 08:10 geraintwhite

@grit96 Working. Thank you

haripatel-mobio avatar Nov 12 '21 05:11 haripatel-mobio