0

I have a checkbox named Checkbox2 and I want to check it, I tried this formula:(UpdateContext({Checkbox2.Value:true}) & Checkbox2.Value=true) inside the App's OnStart but none of them worked.

I also tried:

If(CountRows(Filter(colAmountRadioOption, Value =  varRecord.Amount.Value))=0,UpdateContext({Checkbox2.Value:true});Set(varmanualAmount,varRecord.Amount.Value),false);

and

If(CountRows(Filter(colReasonRadioOption, Value =  varRecord.Reason.Value))=0,Checkbox2.Value=true;Set(varmanualReason,varRecord.Reason.Value),false);

Any advice?

1 Answer 1

1

You must assign true or false value to a variable in the OnStart and use that variable in 'Default' property of the checkbox content (It is not possible directly assign a value to PowerApps component).

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.