-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: UI review #2762
base: dev
Are you sure you want to change the base?
Fix: UI review #2762
Conversation
Jest Unit tests resultsDuration: 50.396 seconds
Outcome: Passed | Total Tests: 761 | Passed: 760 | Failed: 0
|
src/renderer/shared/ui-entities/AccountExplorer/AccountExplorers.tsx
Outdated
Show resolved
Hide resolved
@@ -41,14 +42,24 @@ type InputProps = Pick< | |||
>; | |||
|
|||
type ControlledPopoverProps = { | |||
value: string; | |||
selectedValue: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why you need to differentiate selected value from value from input?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we want to store compound selected value it will also be visible in Combobox Input
To avoid this we separate input's value and selected one
inputValue={signatoryAddress}
selectedValue={`${signatoryAddress}_${selectedWalletId}`}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Waiting for Sergey's UI decision
closes #2731