fix: allow file selection in multipart form without entering a key first (#7640)

This commit is contained in:
Pooja
2026-04-02 11:38:36 +05:30
committed by GitHub
parent ce87289616
commit 7ddd2d3f17
4 changed files with 123 additions and 14 deletions

View File

@@ -71,7 +71,29 @@ const Wrapper = styled.div`
.upload-btn,
.clear-file-btn {
display: flex;
align-items: center;
justify-content: center;
padding: 4px;
color: ${(props) => props.theme.colors.text.muted};
background: transparent;
border: none;
cursor: pointer;
border-radius: 4px;
transition: color 0.15s ease;
flex-shrink: 0;
&:hover {
color: ${(props) => props.theme.text};
}
}
.clear-file-btn:hover {
color: ${(props) => props.theme.colors.text.danger};
}
.file-value-cell {
width: 100%;
}
.value-cell {