BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
onSelect(args)
{
console.log(this.mulObj.value);
} |
How to get values from a multiselect component in JSX?
<MultiSelectComponent id="checkbox" onBlur={context.handleChangeMultiple.bind(context,i)} dataSource={this.state.outputs[i].outputValue} placeholder="Select Values" mode="CheckBox" showSelectAll={true} showDropDownIcon={true} filterBarPlaceholder="Search Values" popupHeight="200px">
<Inject services={[CheckBoxSelection]}/>
</MultiSelectComponent>
Select(args){
console.log(args.itemData.Name);
console.log(args.itemData.Code);
}
Onchange(args){
console.log(this.mulObj.value);
}
render() {
return (<div id="multichecbox" className='control-pane'>
<div className='control-section col-lg-8'>
<div id="multigroup" className="control-styles">
<h4>CheckBox</h4>
<MultiSelectComponent id="checkbox" ref={(scope) =>
{ this.mulObj = scope; }} dataSource={this.countries} fields={this.checkFields} placeholder="Select countries" mode="CheckBox" showSelectAll={true} showDropDownIcon={true} change={this.Onchange.bind(this)} select={this.onSelect.bind(this)} filterBarPlaceholder="Search countries" popupHeight="350px">
<Inject services={[CheckBoxSelection]} />
</MultiSelectComponent>
</div>
</div>
</div>);
} |