lorawan-stack
lorawan-stack copied to clipboard
Prevent accidental navigation when changing PFs
Summary
This quickfix PR will prevent users from accidentally navigating away when changing payload formatters in the Console.
Changes
- Refactor
<Prompt />-component a bit - Add
<Prompt />to payload formatter form - Fix missing proptype in form component
Testing
Manual testing.
Notes for Reviewers
Was notified of this problem by @ysmilda
Checklist
- [x] Scope: The referenced issue is addressed, there are no unrelated changes.
- [x] Compatibility: The changes are backwards compatible with existing API, storage, configuration and CLI, according to the compatibility commitments in
README.mdfor the chosen target branch. - [x] Documentation: Relevant documentation is added or updated.
- [x] Changelog: Significant features, behavior changes, deprecations and fixes are added to
CHANGELOG.md. - [x] Commits: Commit messages follow guidelines in
CONTRIBUTING.md, there are no fixup commits left.