Skip to content

Commit 145aeb5

Browse files
Change rank of ratingControlTester to fit the tutorial
1 parent 4d0e24c commit 145aeb5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/ratingControlTester.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
import { rankWith, scopeEndsWith } from '@jsonforms/core';
1+
import { rankWith, scopeEndsWith } from "@jsonforms/core";
22

3-
export default rankWith(Number.MAX_VALUE, scopeEndsWith('rating'));
3+
export default rankWith(
4+
3, //increase rank as needed
5+
scopeEndsWith("rating")
6+
);

0 commit comments

Comments
 (0)