bmichotte / ProMotion-XLForm

ProMotion-XLForm is a ProMotion plugin for XLForm
MIT License
20 stars 21 forks source link

Dynamic options for :selector_push type #37

Closed spencerfdavis closed 8 years ago

spencerfdavis commented 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:

{ 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.

spencerfdavis commented 8 years ago

Never mind... figured it out. Carry on. haha