Skip to content

Commit e0251d6

Browse files
add input default value change to doco
1 parent 9a05971 commit e0251d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ The `keepInputValues` option provides a way to preserve user input values during
126126
* Input elements (text, checkbox, radio, etc.) will retain their current values instead of being updated to match the new content
127127
* Textarea elements will preserve their current content
128128
* Child morphing is skipped when the innerHTML hasn't changed, improving performance
129-
* Only textarea elements with changed `defaultValue` will have their values updated
129+
* Only inputs and textarea elements with a changed default value will have their values updated
130130

131131
This is particularly useful in scenarios where:
132132
- Users are typing in forms and you want to update other parts of the page without losing their input

0 commit comments

Comments
 (0)