Ghost/ghost/admin/app/templates/components/gh-token-input.hbs
Austin Burdine 13ceee3e9f Contributor Role (#948)
refs https://github.com/TryGhost/Ghost/issues/9314

* added save button for contributor
* hide tag filter & redirect to posts.index if post is published
* update editor controller test to need session service
2018-02-07 10:42:46 +01:00

56 lines
1.7 KiB
Handlebars

{{#gh-token-input/select-multiple
afterOptionsComponent=afterOptionsComponent
allowClear=allowClear
ariaDescribedBy=ariaDescribedBy
ariaInvalid=ariaInvalid
ariaLabel=ariaLabel
ariaLabelledBy=ariaLabelledBy
beforeOptionsComponent=beforeOptionsComponent
class=(concat "gh-token-input " class)
closeOnSelect=closeOnSelect
defaultHighlighted=defaultHighlighted
destination=destination
dir=dir
disabled=disabled
dropdownClass=dropdownClass
extra=extra
horizontalPosition=horizontalPosition
initiallyOpened=initiallyOpened
loadingMessage=loadingMessage
matcher=matcher
matchTriggerWidth=matchTriggerWidth
noMatchesMessage=noMatchesMessage
onblur=(action "onblur")
onchange=(action selectOrCreate)
onclose=onclose
onfocus=(action "onfocus")
oninput=oninput
onkeydown=(action "handleKeydown")
onopen=onopen
options=optionsWithoutSelected
optionsComponent=(or optionsComponent "power-select-vertical-collection-options")
placeholder=placeholder
registerAPI=registerAPI
renderInPlace=renderInPlace
search=(action searchAndSuggest)
searchEnabled=searchEnabled
searchField=searchField
searchMessage=searchMessage
searchPlaceholder=searchPlaceholder
selected=selected
selectedItemComponent=selectedItemComponent
tabindex=tabindex
triggerClass=triggerClass
triggerComponent=triggerComponent
triggerId=triggerId
verticalPosition=verticalPosition
data-test-token-input=true
as |option term|
}}
{{#if option.__isSuggestion__}}
{{gh-token-input/suggested-option option=option term=term}}
{{else}}
{{get option labelField}}
{{/if}}
{{/gh-token-input/select-multiple}}