Skip to content
Snippets Groups Projects
Unverified Commit 75476bce authored by Jorik Schellekens's avatar Jorik Schellekens Committed by GitHub
Browse files

Merge pull request #132 from matrix-org/fix-input-validation

Fix enter to submit behaviour
parents 427a81f3 28405ee7
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,6 @@ const LinkNotCreatedTile: React.FC<ILinkNotCreatedTileProps> = (
values.identifier
);
}}
validateOnChange={false}
>
{(formik): JSX.Element => (
<Form>
......@@ -127,7 +126,7 @@ const LinkCreatedTile: React.FC<ILinkCreatedTileProps> = (props) => {
onClick={(): void => props.setLink('')}
>
<div>New link</div>
<img src={refreshIcon} />
<img src={refreshIcon} alt="Go back to matrix.to home page" />
</button>
<a href={props.link}>
<h1>{props.link}</h1>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment