Skip to content

Commit

Permalink
[#4384] fix(UI): Replace to password input for all jdbc-password value (
Browse files Browse the repository at this point in the history
#4413)

### What changes were proposed in this pull request?

Set the type of related input field to "password"

### Why are the changes needed?

Fix: #4384 

### Does this PR introduce _any_ user-facing change?

catalog password input UI was changed

### How was this patch tested?
![Screenshot from 2024-08-06
17-17-30](https://github.com/user-attachments/assets/8ee07916-807e-430a-b805-f665b8f71570)

Co-authored-by: Liang Chun <garychen0975321741@gmail.com>
  • Loading branch information
github-actions[bot] and featherchen committed Aug 7, 2024
1 parent c660390 commit a897a47
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,7 @@ const CreateCatalogDialog = props => {
onChange={event => handleFormChange({ index, event })}
data-refer={`props-value-${index}`}
data-prev-refer={`props-${item.key}`}
type={item.key === 'jdbc-password' ? 'password' : 'text'}
/>
)}
</Box>
Expand Down

0 comments on commit a897a47

Please sign in to comment.