Fix select of text.

This commit is contained in:
Paulo Gustavo Veiga
2023-01-04 23:07:58 -08:00
parent f86e3e085b
commit 859a95d1d1
2 changed files with 9 additions and 5 deletions

View File

@ -77,18 +77,19 @@ const TopicLink = (props: {
onChange={(event) => setUrl(event.target.value)}
variant="outlined"
size="small"
type="url"
onKeyDown={keyDownHandler}
InputProps={{
endAdornment: (
<Link href={isValidUrl ? url : ''} target="_blank">
<IconButton disabled={!isValidUrl}>
<OpenInNewOutlinedIcon></OpenInNewOutlinedIcon>
<OpenInNewOutlinedIcon />
</IconButton>
</Link>
),
}}
margin="dense"
></Input>
/>
<br />
<SaveAndDelete
model={props.urlModel}