Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2791 from bolatovumar/fix-2785
Browse files Browse the repository at this point in the history
fix(ui): make sure connection string visibility toggle is respected
  • Loading branch information
mrfelton authored Aug 22, 2019
2 parents 21e73d0 + 019309d commit 90d8dc1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions renderer/components/Form/Input.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ const Input = ({
<Flex alignItems="center">
{type === 'search' && <SearchIcon width={iconSize} />}
<StyledInput
{...otherProps}
ref={forwardedRef}
disabled={isDisabled}
fieldState={fieldState}
maxLength={maxLength}
Expand Down Expand Up @@ -113,6 +111,8 @@ const Input = ({
theme={theme}
type={type}
value={getValue()}
{...otherProps}
ref={forwardedRef}
/>
{children}
</Flex>
Expand Down
4 changes: 2 additions & 2 deletions renderer/components/Form/TextArea.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ const TextArea = ({
</InputLabel>
)}
<StyledTextArea
{...otherProps}
ref={forwardedRef}
disabled={isDisabled}
fieldState={fieldState}
name={field}
Expand Down Expand Up @@ -93,6 +91,8 @@ const TextArea = ({
required={isRequired}
theme={theme}
value={getValue()}
{...otherProps}
ref={forwardedRef}
/>
{description && (
<Text color="gray" fontSize="s" mt={1}>
Expand Down

0 comments on commit 90d8dc1

Please sign in to comment.