Skip to content

Commit 596aab6

Browse files
committed
fix(Rating): add missing sanitizer option
1 parent 876ab95 commit 596aab6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/src/rating.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ const Default = {
8787
name: null,
8888
precision: 1,
8989
readOnly: false,
90+
sanitize: true,
9091
sanitizeFn: null,
9192
size: null,
9293
tooltips: false,
@@ -104,6 +105,7 @@ const DefaultType = {
104105
name: '(string|null)',
105106
precision: 'number',
106107
readOnly: 'boolean',
108+
sanitize: 'boolean',
107109
sanitizeFn: '(null|function)',
108110
size: '(string|null)',
109111
tooltips: '(array|boolean|object)',

0 commit comments

Comments
 (0)