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.
![image](https://user-images.githubusercontent.com/5710611/184111900-fee0dba2-96b4-4623-8cfd-acc00ce97937.png)
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.md
for 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.