@vaadin/radio-group 23.0.0-alpha4 → 23.0.0-alpha5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/radio-group",
3
- "version": "23.0.0-alpha4",
3
+ "version": "23.0.0-alpha5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,16 +36,16 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@polymer/polymer": "^3.0.0",
39
- "@vaadin/component-base": "23.0.0-alpha4",
40
- "@vaadin/field-base": "23.0.0-alpha4",
41
- "@vaadin/vaadin-lumo-styles": "23.0.0-alpha4",
42
- "@vaadin/vaadin-material-styles": "23.0.0-alpha4",
43
- "@vaadin/vaadin-themable-mixin": "23.0.0-alpha4"
39
+ "@vaadin/component-base": "23.0.0-alpha5",
40
+ "@vaadin/field-base": "23.0.0-alpha5",
41
+ "@vaadin/vaadin-lumo-styles": "23.0.0-alpha5",
42
+ "@vaadin/vaadin-material-styles": "23.0.0-alpha5",
43
+ "@vaadin/vaadin-themable-mixin": "23.0.0-alpha5"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@esm-bundle/chai": "^4.3.4",
47
47
  "@vaadin/testing-helpers": "^0.3.2",
48
48
  "sinon": "^9.2.1"
49
49
  },
50
- "gitHead": "81e2deee5147bb7c1f4884760f4598613306f1fb"
50
+ "gitHead": "74f9294964eb8552d96578c14af6ad214f5257bc"
51
51
  }
@@ -295,7 +295,7 @@ class RadioGroup extends FieldMixin(
295
295
  radioButton.name = this._fieldName;
296
296
  radioButton.addEventListener('checked-changed', this.__onRadioButtonCheckedChange);
297
297
 
298
- if (this.disabled) {
298
+ if (this.disabled || this.readonly) {
299
299
  radioButton.disabled = true;
300
300
  }
301
301