Describe the bug
form contains code like this inside field closures:
w.Styler(func(s *styles.Style) {
f := fm.structFields[i]
but the value of i depends on what was actually shown previously, so it can crash with out-of-range errors here. this happens in axon, and I updated the order of fields in demo to show it.
we need a canonical path name, not an index, and to find the field data by that path name.
How to reproduce
open demo, click things in the first inline guy.
Example code
No response
Relevant output
No response
Platform
macOS