Skip to content

fix(web): fix Controller in CollectionEditor#1237

Merged
losolio merged 1 commit intomainfrom
fix/collection-editor-md
Mar 26, 2026
Merged

fix(web): fix Controller in CollectionEditor#1237
losolio merged 1 commit intomainfrom
fix/collection-editor-md

Conversation

@losolio
Copy link
Copy Markdown
Contributor

@losolio losolio commented Mar 26, 2026

Fixes CollectionEditor’s description field so the Scribo MarkdownInput is properly wired into the @eventuras/smartform (react-hook-form) state management, ensuring edits are captured on submit.

Copilot AI review requested due to automatic review settings March 26, 2026 22:11
@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes CollectionEditor’s description field so the Scribo MarkdownInput is properly wired into the @eventuras/smartform (react-hook-form) state management, ensuring edits are captured on submit.

Changes:

  • Import Controller from @eventuras/smartform.
  • Wrap the description MarkdownInput in a Controller and connect it via field.onChange (and initialize via field.value).

@losolio losolio merged commit b618e0d into main Mar 26, 2026
17 checks passed
@losolio losolio deleted the fix/collection-editor-md branch March 26, 2026 22:27
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Eventuras backlog Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants