Select box selection is not restored when using back button (works in turbolinks-classic)

Author: pierre-pretoriusCreated Feb 20, 2017Updated Jul 13, 2021
Labelsenhancement

Hi

This can easily be reproduced with a blank new rails app. I've created one here: https://github.com/pierre-pretorius/turbolinks_test

  1. On the items#new form you enter a name and select a type in the select box.

Original

  1. Click "Go to items" and then press the browser back button. The name text is restored but the selected type is not restored. With turbolinks-classic the select box selection is restored correctly.

Original