---
title: "Discussion on \"Dependent drop-down selects with Rails and Hotwire\" | Hashnode"
description: "Discussion on \"Dependent drop-down selects with Rails and Hotwire\". This article will teach you how to create drop-down selects with Rails and Hotwire. \nI want to add country and state to the user. When users select a country, we want to fetch all states from this country and add to the states input-select. Let's sta..."
url: "https://hashnode.com/posts/dependent-drop-down-selects-with-rails-and-hotwire/6360555612257ac1e7123a9b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Dependent drop-down selects with Rails and Hotwire](https://mateuszbialowas.com/dependent-drop-down-selects-with-rails-and-hotwire?utm_source=hashnode&utm_medium=feed)

This article will teach you how to create drop-down selects with Rails and Hotwire. I want to add country and state to the user. When users select a country, we want to fetch all states from this country and add to the states input-select. Let's sta...

Oct 31, 2022 · 3 min read · mateuszbialowas.com  
Read the article

-   [#ruby-on-rails](https://hashnode.com/tag/ruby-on-rails)
-   [#hotwire](https://hashnode.com/tag/hotwire)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Mateusz Białowąs](https://hashnode.com/@mateuszbialowas)

@mateuszbialowas · Gdańsk, PL

  
[View profile](https://hashnode.com/@mateuszbialowas)

Ruby RubyOnRails React Github

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
