Skip to content

Commit 3199ca6

Browse files
committed
docs: update changelog and version for v1.0.13
1 parent 635365a commit 3199ca6

3 files changed

Lines changed: 18 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22

33
All 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

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

docs/flexible-field-support.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)