ember-cli-selectize
ember-cli-selectize copied to clipboard
[BUG] Setting a default value
Hello!
Trying to call the component such that
{{ember-selectize content=content optionValuePath=optionValuePath optionLabelPath=optionLabelPath value=value disabled=disabled}}
Where value="some value present in the optionValuePath"
Does not reflect on the component's selection and sets that value to undefined
A failing test would speed things up!
Does setting value for multiple=true selectize work? The tags aren't getting generated. content = [{ id:'a', text:'apple' }, { id:'b', text:'ball' }, { id:'c',text:'cat' }] selectedValue: [{ id: 'a', text: 'apple' }]
{{ember-selectize content=content selection=selectedValue optionValuePath="content.id" optionLabelPath="content.text" value=selectedValue}}
this shows empty input box with no tagging.
@abhilashlr see https://github.com/miguelcobain/ember-cli-selectize/pull/59#issuecomment-111185420
@miguelcobain I'll add one when I have the time :D
@abhilashlr same happened to me
@HeroicEric thanks!
Pre-select only works if selection
is used instead of value
.