如何设置dijit.form.radiobutton只读模式

How to set dijit.form.radiobutton readonly mode

本文关键字:form radiobutton 只读 模式 dijit 何设置 设置      更新时间:2023-09-26

我有一个单选按钮,我需要设置为只读。在只读模式下,它应该显示所选状态,但不响应悬停或单击。dojo文档在这方面有点稀疏。有什么建议吗?

添加Disabled为你的标签:

<input data-dojo-type="dojox/mobile/CheckBox" type="checkbox" disabled />