▲ 0 r/PowerApps
I want to create a numeric input PCF control using React
At the moment I have created few dummy bound or output properties, just to check which one is working and none of them is working :(
Value2, Value3, Value4 give me 0
Value - Decimal / boundValue2 - Decimal / boundValue3 - Decimal / outputValue4 - Decimal / output
return {
Value: this.currentValue,
//Value: this.currentValue !== undefined ? this.currentValue : null as unknown as number
Value2: undefined,
Value3: null as unknown as number,
Value4: undefined,
Text1: "",
};
Trying to set null to any numeric property get me error: "Type 'null' is not assignable to type 'number | undefined'."
Is there a way to have no output at numeric property? When user hit 'clear' I don't want to store '0', I want to store null,nothing etc
u/Conscious-Simple9499 — 17 days ago