Skip to content

Comments

Forms 1.1.17#733

Merged
dwertheimer merged 12 commits intomainfrom
fix/table-frontmatter-duplication
Jan 25, 2026
Merged

Forms 1.1.17#733
dwertheimer merged 12 commits intomainfrom
fix/table-frontmatter-duplication

Conversation

@dwertheimer
Copy link
Collaborator

No description provided.

…indicator

- Add default filter to screen out options containing templating fields ('<%')
- Fix pencil icon appearing incorrectly for empty/blank values
- Update plugin version to 1.0.17
- Filter templating syntax values (containing '<%') at source in getFrontmatterKeyValues to prevent templating errors when forms load
- Add comprehensive debug logging to SearchableChooser for manual entry indicator diagnosis
- Update changelog with all recent changes for version 1.0.17
…ng syntax

- Changed from renderFrontmatter() to getFrontmatterAttributes() to parse frontmatter without rendering
- This prevents templating errors during form initialization when frontmatter contains templating syntax referencing form fields
- Templating syntax in frontmatter attributes will be rendered later when form is submitted with actual values
- Changed condition from filteredItems.length > 0 to items.length > 0
- This allows create mode to show even when all items are filtered out (e.g., by templating syntax filter)
- Users can now create new items when typing something not in the list, even if existing items were filtered out
…, remove replacers

- Added defaultRawMode and hideRawToggle props to TemplateTagEditor
- Removed displayTextWithSpaces function (no more <return> and <space> replacers)
- Show text directly with whitespace preserved
- Added newNoteFrontmatter field to ProcessingMethodSection (create-new section)
- Set newNoteTitle and newNoteFrontmatter to use raw mode by default with hidden toggle
- Calendar picker auto-close already implemented in NoteChooser
- Move New Note Frontmatter field above Content to Insert in create-new mode
- Change 'Content to Insert' label to 'New Note Body Content' in create-new mode
- Fix ContainedMultiSelectChooser to allow creating new items even when list is empty
- Remove items.length > 0 requirement from create mode condition
…r key

- Highlight the checkmark confirm button when in create mode
- Make Enter key trigger create confirmation when in create mode
- Add visual highlighting with tint color background and shadow
- Update button title to indicate Enter key support
When processing form submissions with newNoteFrontmatter:
- Check if frontmatter already has a title field; if so, do nothing
- If no title field exists, check if body content first line contains '# <%- newNoteTitle %>'
- If body doesn't have the title heading, add 'title: <%- newNoteTitle %>' (or use original template tag) to the top of frontmatter
- This ensures the title is always set and not overwritten by frontmatter or body content
@dwertheimer dwertheimer changed the title Fix/table frontmatter duplication Forms 1.1.17 Jan 25, 2026
@dwertheimer dwertheimer merged commit a84bcf5 into main Jan 25, 2026
4 checks passed
@dwertheimer dwertheimer deleted the fix/table-frontmatter-duplication branch January 25, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant