I had previously posted about trying to do a subselect pattern using option groups and CSS to control what content is displayed in forms:
The problem I’m faced with is that the same code behaves differently between browser versions (using stimulus 1.0.1):
- Chrome Desktop Version 67.0.3396.99
- Chrome mobile Version 67.0.3396.87
- Safari desktop Version 11.1.2 (13605.3.8)
This can be confirmed by visiting the above link - the code is there as well.
It used to work on Chrome mobile at some point, and I found it hard to try and debug it, as Chrome desktop’s mobile view worked, but now that I can confirm it’s not working in Safari too.
I’m not really sure if there’s a better way to perform this kind of filtering - or if there’s something subtle about how stimulus operates on different platforms? Any help is welcomed!