Skip to content

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

Open
@Hirurg103

Description

@Hirurg103

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 !

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