* You can disable the ui5-checkbox by setting the disabled property to
* true,
- * or use the ui5-checkbox in read-only mode by setting the readOnly
+ * or use the ui5-checkbox in read-only mode by setting the readonly
* property to true.
*
*
ui5-radiobutton states
-
+
-
+
diff --git a/packages/main/test/sap/ui/webcomponents/main/qunit/RadioButton.qunit.js b/packages/main/test/sap/ui/webcomponents/main/qunit/RadioButton.qunit.js
index bef7ac25b9f5..3f98e2cbc392 100644
--- a/packages/main/test/sap/ui/webcomponents/main/qunit/RadioButton.qunit.js
+++ b/packages/main/test/sap/ui/webcomponents/main/qunit/RadioButton.qunit.js
@@ -36,7 +36,7 @@ TestHelper.ready(function () {
assert.notOk(radiobutton.classList.contains(expectedClass), "root element does not have ." + expectedClass);
});
- QUnit.test("The 'read-only' is not set by default", function (assert) {
+ QUnit.test("The 'readonly' is not set by default", function (assert) {
var expectedClass = "sapMRbRo",
radiobutton = this.getRadioButtonRoot();
@@ -97,14 +97,14 @@ TestHelper.ready(function () {
});
});
- QUnit.test("changing the 'read-only' is reflected in the DOM", function (assert) {
+ QUnit.test("changing the 'readonly' is reflected in the DOM", function (assert) {
assert.expect(1);
var done = assert.async(),
expectedClass = "sapMRbRo",
radiobutton = this.getRadioButtonRoot();
- this.radiobutton.setAttribute("read-only", "");
+ this.radiobutton.setAttribute("readonly", "");
RenderScheduler.whenFinished().then(function () {
assert.ok(radiobutton.classList.contains(expectedClass), "root element has ." + expectedClass);
diff --git a/packages/main/test/sap/ui/webcomponents/main/samples/CheckBox.sample.html b/packages/main/test/sap/ui/webcomponents/main/samples/CheckBox.sample.html
index 08160cb9ada8..376957f13d52 100644
--- a/packages/main/test/sap/ui/webcomponents/main/samples/CheckBox.sample.html
+++ b/packages/main/test/sap/ui/webcomponents/main/samples/CheckBox.sample.html
@@ -59,21 +59,21 @@