Skip to content

Commit

Permalink
Added support for 10 stars
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard de Boer committed Jul 17, 2020
1 parent 9aa06f5 commit 9a40807
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fields/StarField.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ public function getSettingsHtml()
'options' => [
1 => Craft::t('starfield', '1 star'),
3 => Craft::t('starfield', '3 stars'),
5 => Craft::t('starfield', '5 stars')
5 => Craft::t('starfield', '5 stars'),
10 => Craft::t('starfield', '10 stars')
],
'errors' => $this->getErrors('maxStars'),
]
Expand Down

0 comments on commit 9a40807

Please sign in to comment.