Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

How to add a Show More Tag to show added datas #14

Open
iamadityaaz opened this issue Mar 2, 2019 · 0 comments
Open

How to add a Show More Tag to show added datas #14

iamadityaaz opened this issue Mar 2, 2019 · 0 comments

Comments

@iamadityaaz
Copy link

iamadityaaz commented Mar 2, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant