react-native-tag-select icon indicating copy to clipboard operation
react-native-tag-select copied to clipboard

How to add a Show More Tag to show added datas

Open iamadityaaz opened this issue 5 years ago • 0 comments

A Show More Tag to show added data on selected. How can i do it, anybody please help me, i tried doing by doing -

componentDidMount () {

const value = {}

var toRemove = 'Show More';
var index = this.props.value.indexOf(toRemove);
this.props.value.splice(index, 1);

this.props.value.forEach((val) => {
  value[val[[this.props.keyAttr]] || val] = val
})



this.setState({ value })
} 

But failed

iamadityaaz avatar Mar 02 '19 11:03 iamadityaaz