Disable remote select when waiting for the response from the server
Hirurg103 opened this issue · 0 comments
Hirurg103 commented
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 !