Commit ac6b442
authored
fix: Apply Flexible prefix to child field attributes for proper form submission (#14)
- Add applyFlexiblePrefixToChildFields() to prefix child field attributes
- Child fields inside Flexible layouts now use correct prefixed attributes
- Form data now properly includes prefixed keys like cDsaj6Ub0m9hChBj__recipient_email
- Fixes field values not being saved in nova-flexible-content contexts
Related: whitecube/nova-flexible-content#5241 parent 4cc4adc commit ac6b442
3 files changed
Lines changed: 49 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
5 | 21 | | |
6 | 22 | | |
7 | 23 | | |
| |||
0 commit comments