`connect` 没有获取输入元素的初始值 (浏览器的"后退"按钮)
作者: phylor创建于 2020年9月7日更新于 2025年1月29日
Hi there! We encountered unexpected behavior when using connect.
Scenario:
- We have a page with radio buttons
- The user selects a radio button
- The user submits the form
- The user uses the
backbutton in her browser - Stimulus'
connectdoes not recognize the selected radio button
内容来源: hotwired/stimulus