Episode

Опубликовано: 02 Июнь 2024
на канале: Drifting Ruby
1,838
like

In this episode, we tackle the issue of slow-loading dropdowns with a high volume of options by implementing an asynchronous select using the Hotwire Combobox library.

► Full Episode - https://www.driftingruby.com/episodes...

00:00 - Introduction
02:06 - Creating the models
02:45 - Adding the dependencies
03:07 - Creating the Select Inputs
04:39 - Adding the comboboxes
06:54 - Setting up the styling
07:12 - Setting up the controllers
08:29 - Creating the search views
09:34 - Adding the Stimulus controller
11:22 - Demo
11:50 - Fixing when editing the records
12:52 - Changing the CSS
13:49 - Final Thoughts

This episode is sponsored by Honeybadger (https://www.honeybadger.io/)

► Visit the Merchandise Store - https://www.railsstore.com/
► Ruby on Rails Templates - https://www.rubidium.io
► Subscribe to Drifting Ruby at https://www.driftingruby.com/subscrip...

#ruby #rubyonrails #programming #code #hotwire #javascript #development