You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried setting placeholder and searchPlaceholder on {{power-select-multiple-with-create}} but no luck, it just defaults to "Type to search.".
{{#power-select-multiple-with-createselected=selectedsearchPlaceholder="Type to add an 'option'."renderInPlace=trueonchange=(action"onChangeItems")
oncreate=(action"onCreateItem")
as |option|}}{{option}}{{/power-select-multiple-with-create}}
For now, i'm using the onopen action to manually set the text within ember-power-select-option--search-message in case anyone else is having the same issue:
workAroundForSelectOptionPlaceholder(){run.later(this,()=>{try{constplaceholderEl=document.getElementById(get(this,"elementId")).getElementsByClassName("ember-power-select-option--search-message")[0];if(placeholderEl){placeholderEl.innerHTML="Type to add an 'option'.";}}catch(e){console.warn("workaround failed",e);}},25);}
The text was updated successfully, but these errors were encountered:
I've tried setting
placeholder
andsearchPlaceholder
on{{power-select-multiple-with-create}}
but no luck, it just defaults to"Type to search."
.For now, i'm using the
onopen
action to manually set the text withinember-power-select-option--search-message
in case anyone else is having the same issue:The text was updated successfully, but these errors were encountered: