Skip to content

Support for conditional collection #20

@vicenteferreyra

Description

@vicenteferreyra

Hi there!

Is there any way of populating the select using the value of another input and refresh it when the other input changes?
e.g:

f.input(:user)
f.input(:posts,
        as: :searchable_select,
        collection: <user_selected_in_input>.posts
})

I would appreciate any help on this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions