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.
hey @MalyMajo
i dont have a solution to you post but a suggestion
Modern controls are still in preview, and i (and also many others) do not suggest using them much as of now. they can be buggy an cause issues in many places.
Let me know if my answer helped solving your issue.
If it did please accept as solution and give it a thumbs up so we can help others in the community.
Greetings
WarrenBelz
146,537
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,908
Most Valuable Professional