我正在尝试填写重置选项,但我没有默认将其设为空白

时间:2019-08-21 11:12:32

标签: powerapps

我想问一下单选按钮。假设我有一个产品可以测试“ Radio1”和“ Radio2”。我选择“ Radio1”,基于此,我有多个单选按钮,但我希​​望它们为空白。有什么想法吗?

2 个答案:

答案 0 :(得分:1)

我建议设置Radio1的OnSelect属性。您可以设置OnSelect = Reset(Radio2); Reset(Radio3)等,然后确保Radio2和Radio3的Reset属性为false

如果要有条件地显示/隐藏子单选按钮,则可以设置其Visible属性= Radio1.Selected.Value = 1,其中“ 1”是Radio1中的第一个选项。

这是我描述的内容: Here is an example:

答案 1 :(得分:0)

RadioButton1:

Items["Abrasive", "Polish"]

OnSelect

Set(varResetAll, true);
Set(varResetAll, false);
Set(varResetAll, true)

RadioButton2和RadioButton3:

ResetvarResetAll

enter image description here