111
rated 0 times
[
112]
[
1]
/ answers: 1 / hits: 84147
/ 8 Years ago, sat, april 9, 2016, 12:00:00
I am using formsy-react for the form, I want to render more options when an event is fired, code looks something like this:
class MultipleChoice extends Component {
constructor(props) {
super(props);
}
render() {
return(
<div>
<Form>
<div id=dynamicInput>
<FormInput />
</div>
</Form>
</div>
);
}
}
I have a button and onClick event I want to fire a function that appends another into div id dynamicInput, is it possible?
More From » reactjs