File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33All notable changes to ` nova-dependency-container ` will be documented in this file.
44
5+ ## [ 1.0.13] - 2025-11-25
6+
7+ ### Fixed
8+ - Fixed dependent field values not being saved on form submission
9+ - Added missing ` ref ` attribute to child components in template for proper Vue component referencing
10+ - Fixed ` fill() ` method to handle Vue 3's array-based refs in v-for loops
11+
12+ ### Changed
13+ - Updated template to use ` :ref="'field-' + field.attribute" ` for each child field
14+ - Updated ` fill() ` method to extract first element when ref is an array (Vue 3 behavior)
15+ - Improved ` :key ` binding to use ` field.attribute ` for better component tracking
16+
17+ ### Technical
18+ - In Vue 3, refs created in v-for loops are stored as arrays, not single elements
19+ - The fill method now correctly accesses ` $refs[refKey][0] ` when the ref is an array
20+
521## [ 1.0.12] - 2025-11-25
622
723### Fixed
Original file line number Diff line number Diff line change 11{
22 "name" : " iamgerwin/nova-dependency-container" ,
3- "version" : " 1.0.12 " ,
3+ "version" : " 1.0.13 " ,
44 "description" : " A Laravel Nova 4 and 5 field container allowing to depend on other fields values" ,
55 "keywords" : [
66 " laravel" ,
Original file line number Diff line number Diff line change @@ -168,6 +168,7 @@ This ensures that changing a field in Overlay Item #1 doesn't affect the depende
168168
169169## Version History
170170
171+ - ** 1.0.13** : Fixed dependent field values not being saved on form submission
171172- ** 1.0.12** : Added DOM-based watching for Flexible fields where Nova events don't fire
172173- ** 1.0.11** : Fixed regex patterns to support nova-flexible-content's random key format
173174- ** 1.0.10** : Fixed FieldServiceProvider not registering assets with Nova
You can’t perform that action at this time.
0 commit comments