Open newton3 opened 6 years ago
You will have to do the actual loading of the model
in your route's model
hook.
If you're sure that model.TagCategories
is available here (try {{log model.TagCategories}}
above your searchable-select
code to confirm), then perhaps you need to specify the optionLabelKey
so the addon knows which part of the object to use for displaying the label, eg.
{{searchable-select
content=model.TagCategories
sortBy="Name"
optionLabelKey="Name"}}
Does that help?
Had similar problem that options were not refreshing, i had optionLabelKey set, but after i added also sortBy its started to work, tnx for pointing right direction :P
Hi.. it is not clear to me from documentation on how Content= is actually loading the content from the model? I have tried all the options but no options are displayed. Please help. Example -