Skip to content

Conversation

philon-
Copy link
Contributor

@philon- philon- commented Sep 15, 2025

Description

This PR reverts a change made in pr #807 which introduced a regression where draft states were not restored properly.

Related Issues

Changes Made

  • Removed shouldUnregister: true,

Testing Done

Screenshots (if applicable)

Checklist

  • Code follows project style guidelines
  • Documentation has been updated or added
  • Tests have been added or updated
  • All i18n translation labels have been added (read
    CONTRIBUTING_I18N_DEVELOPER_GUIDE.md for more details)

@Copilot Copilot AI review requested due to automatic review settings September 15, 2025 18:57
Copy link
Contributor

@Copilot 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

This PR reverts a change that introduced a regression affecting form draft state restoration by removing the shouldUnregister: true option from the useForm hook configuration.

Key Changes

  • Removed shouldUnregister: true from useForm configuration in DynamicForm component

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@philon- philon- requested a review from danditomaso September 15, 2025 18:58
Copy link

vercel bot commented Sep 15, 2025

@philon- is attempting to deploy a commit to the Meshtastic Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Sep 17, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
web-test Ready Ready Preview Comment Sep 17, 2025 4:03pm

@philon- philon- merged commit 1bdd923 into meshtastic:main Sep 17, 2025
4 checks passed
@philon- philon- deleted the fix/config-form-unmount branch September 17, 2025 16:34
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.

2 participants