Skip to content

isReactiveOptions usage is unclear #3

@dkoo761

Description

@dkoo761

I was looking through the source code wondering how to handle reactive options and stumbled upon isReactiveOptions. At first it looked very promising but I haven't been able to get it working. I have the following in my template:

{{> afQuickField name="homeCourt" type="selectize" selectizeOptions=homeCourtOptions isReactiveOptions=true multiple=true placeholder="First choose your Home City above..."}}

The homeCourtOptions function then returns an object with its 'options' property set to an array which is computed using a reactive variable. I can see the reactivity triggering a re-compute of homeCourtOptions, however, it doesn't appear that the object being returned from homeCourtOptions is being used by the autoform-selectize package to re-compute the options. Is there something else I need to do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions