Setting the value of an Integer attribute from a Pluggable Widget

0
I am trying to set an integer attribute to a certain value in my pluggable widget but it always throws an error   Here is what I do now:   const selectedValue = dataTable?.getProperty(row, 0, "Id"); if (selectedValue !== this.props.selectedId) { this.props.selectedId.setValue(selectedValue);   The selected value is for instance 331. But then it seems to go wrong here (see screenshot): e instanceof i.Big actually returns false.    Anyone an idea what I might be doing wrong?
asked
1 answers
1

Use

 

this.props.decimalAttribute.setValue(Big(Number(data.value)));

 

answered