Rafał Jaroszewicz

Day: November 29, 2022

Rails + Stimulus.js sorting filter on select

In my new project I wanted to introduce sorting on the index page for my records and I came up with this simple Stimulus.js solution. First, I created the select Then once i have my element in place I can create a Stimulus controller And also attach it to my select Now, let’s attach the […]

Back to top