Closed spencerfdavis closed 8 years ago
Sorry if this is a noob question but I'm trying to load async some categories into the options key of a :selector_push type... ex:
options
:selector_push
{ name: "category", title: "Category", type: :selector_push, options: @categories }
Where @categories is initially an empty hash but fetches and populates the @categories on success and then re-renders the options. I can't seem to get it to re-render on success. It always shows the initial state. Thanks in advance.
@categories
Never mind... figured it out. Carry on. haha
Sorry if this is a noob question but I'm trying to load async some categories into the
options
key of a:selector_push
type... ex:{ name: "category", title: "Category", type: :selector_push, options: @categories }
Where
@categories
is initially an empty hash but fetches and populates the@categories
on success and then re-renders the options. I can't seem to get it to re-render on success. It always shows the initial state. Thanks in advance.