I tried following the instructions from this source:
Unfortunately, the example code provided doesn't seem to be functioning properly now.
Is there a way to achieve the same result without having that right margin so that it aligns better with the rounded style of the input field?
https://i.sstatic.net/mHDKN.png
Even after attempting the solution below, I still couldn't get it to work as expected:
<TextField
label="Name File"
id="outlined-start-adornment"
className={clsx(classes.margin, classes.textField)}
InputProps={{
endAdornment: <InputAdornment position="end">.docx</InputAdornment>,
classes: {
adornedEnd: classes.adornedEnd
}
}}
variant="outlined"
/>
https://i.sstatic.net/ncCss.png
Here is the link to the codesandbox for reference: codesandbox
Any assistance or guidance on this issue would be greatly appreciated!