diff --git a/src/components/rating/Rating.vue b/src/components/rating/Rating.vue index c98cfb222..5c134d0d4 100644 --- a/src/components/rating/Rating.vue +++ b/src/components/rating/Rating.vue @@ -1,7 +1,7 @@ @@ -45,6 +45,9 @@ export default { 'p-disabled': this.disabled } ]; + }, + focusIndex() { + return (this.disabled || this.readonly) ? null : '0'; } } }