mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-06 22:36:07 +00:00
I looked at the source code and found that we were missing one detail: data-new-record. https://github.com/stimulus-components/stimulus-rails-nested-form/blob/master/src/index.ts#L32-L35 It's documented here, but it's easy to miss: https://www.stimulus-components.com/docs/stimulus-rails-nested-form/