Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Administrate SelectField options being chached #101

Open
zaidhuda opened this issue Nov 14, 2019 · 0 comments
Open

Administrate SelectField options being chached #101

zaidhuda opened this issue Nov 14, 2019 · 0 comments

Comments

@zaidhuda
Copy link

  • What were you trying to do?
    post_ids: SelectField.with_options(
      multiple: true,
      collection: Post.ids
    )
  • What did you end up with (logs, or, even better, example apps are great!)?

When I create a post, the select option does not change. It would exclude the new post id.
When I destroy a post, the select option does not change. It would include the old post id.

  • What versions are you running?
    • Rails 6.0.0
    • administrate git: 'https://github.com/thoughtbot/administrate'

ref thoughtbot/administrate#1466

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant