I am working on a component, which contains modern control radio button. This radio button is linked to Yes/No column in Dataverse table. My struggle is related to setting the default value of the radio buttons to blank.
I have created a custom input Record property "Default", which is linked to DefaultSelectedItems of the radio button (DefaultSelectedItems = cmpRadio.Default).
In the app, if user has selected some project in Project Overview Screen, value related to selected project should be defaulted. If user starts creating a new project, none of the radio buttons should be selected.
Default value of component cmpAcquisiton is set as following:
If(
!IsBlank(gvSelectedProject),
{Value: gvSelectedProject.Acquisitions}
)
I cannot figure out, how I can achieve with modern controls (same for combobox) that when the component is reset, no value is selected.
I have also tried Reset(cmpAcquisition) in a separate button, but without success.
Any help would be greatly appreciated.


Report
All responses (
Answers (