-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkp/pkp-lib#9736 consider only sorting in FieldOptions story
- Loading branch information
Showing
3 changed files
with
28 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
export default { | ||
name: 'options-onlySorting', | ||
component: 'field-options', | ||
label: 'Masthead', | ||
description: 'Define the order of masthead roles for public display.', | ||
isOrderable: true, | ||
allowOnlySorting: true, | ||
value: [3, 5, 16], | ||
options: [ | ||
{ | ||
value: 3, | ||
label: 'Journal editor', | ||
}, | ||
{ | ||
value: 5, | ||
label: 'Section editor', | ||
}, | ||
{ | ||
value: 16, | ||
label: 'Reviewer', | ||
}, | ||
], | ||
}; |