You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dwertheimer.Forms/CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,14 @@
4
4
5
5
See Plugin [README](https://github.com/NotePlan/plugins/blob/main/dwertheimer.Forms/README.md) for details on available commands and use case.
6
6
7
+
## [1.0.28] 2026-02-08 @dwertheimer
8
+
9
+
### Fixed
10
+
-**Infinite loop on load with preloaded content**: Forms with `preloadChooserData: true` could cause an infinite render loop. FormView was passing new object/array references every render for `defaultValues` and preloaded* props (`preloadedTeamspaces`, `preloadedMentions`, `preloadedHashtags`, `preloadedEvents`, `preloadedFrontmatterValues`), which retriggered DynamicDialog's "add missing keys" useEffect repeatedly. These props are now memoized with content-based dependencies so references only change when the actual data changes.
11
+
12
+
### Edited in this release
13
+
-`dwertheimer.Forms/src/components/FormView.jsx` — Added useMemo for defaultValuesStable and preloaded*Stable props passed to DynamicDialog.
"plugin.description": "Dynamic Forms for NotePlan using Templating -- fill out a multi-field form and have the data sent to a template for processing",
logDebug(pluginJson,`openFormWindow: Found ${windowsToClose.length} existing form window(s) with base customId="${baseCustomId}", closing them before opening new window to avoid JSC crash`)
615
+
logDebug(
616
+
pluginJson,
617
+
`openFormWindow: Found ${windowsToClose.length} existing form window(s) with base customId="${baseCustomId}", closing them before opening new window to avoid JSC crash`,
// Do not blur here: blurring after typing a date stole focus and broke tab order through the form. User can Tab to next field or close calendar by clicking outside.
186
170
}
187
171
}
188
172
// Empty or unparseable: do nothing. Input is uncontrolled so DOM keeps user's typing. Clear only on blur or Clear button.
0 commit comments