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

Disable remote select when waiting for the response from the server #500

Open
Hirurg103 opened this issue Sep 14, 2017 · 0 comments
Open

Comments

@Hirurg103
Copy link

I have a country select:

= select_tag :country_id, options_for_select(@countries),
  data: { remote: true, disable: true, url: user_profile_path(current_user), method: :patch }

I want the country select to be disabled after a user selected a country and the server has not responded yet. Seems like that data: { disable: true } for the select input is not working

Could you please fix this issue? Thanks !

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