Commit Graph

3 Commits

Author SHA1 Message Date
Stefan 16af9dfae6 fix(wallet): fix rename account modal states
Considerations:

- Change validation mode for StatusText to have validity from the start
- Don't show a color selection if the selected color doesn't match the
  available color palette
- Don't enable button if nothing changed
- Tests
    - Add test for validation mode that shows how the valid property
    behaves based on findings.
    - Fix text to expect valid on no input for the default control

Fixes: #8211
2023-01-05 22:16:44 +04:00
Stefan 52c8e3e2c1 fix(StatusImageCrop): output an error if trying to set cropRect without image 2022-09-21 18:20:09 +02:00
Stefan f383121957 test(Controls.StatusImageCrop): basic validation tests for the image crop control
updates #5401
2022-09-21 18:20:09 +02:00