Skip to content

Commit

Permalink
Merge pull request #2185 from MuhammadUmer44/blue-print-attribute-typ…
Browse files Browse the repository at this point in the history
…e-display

Fixed[Blueprint]: Attribute types `string` and `number` have the same word length, but `number` is not displaying the complete word
  • Loading branch information
Rassl authored Oct 17, 2024
2 parents 629aee8 + 3bbed77 commit cc07571
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const FormInput = ({
/>
</Grid>
<Grid item xs={4}>
<AutoComplete
<StyledAutoComplete
dataTestId={`cy-item-select-${index}`}
disabled={requiredKey}
onSelect={(val) => setValue(`attributes[${index}].type`, val?.value)}
Expand Down Expand Up @@ -235,3 +235,9 @@ const PlusIconWrapper = styled.span`
margin-top: 2px;
}
`

const StyledAutoComplete = styled(AutoComplete)`
& .MuiInput-input.MuiInputBase-input {
padding: 8px 2px !important;
}
`

0 comments on commit cc07571

Please sign in to comment.