mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-25 15:39:25 +00:00
Merge pull request #260 from LemmyNet/validate_matrix_id
Validate matrix id on the front end. Fixes #245
This commit is contained in:
commit
3819141e4d
|
@ -750,7 +750,7 @@ export class Person extends Component<any, PersonState> {
|
||||||
this,
|
this,
|
||||||
this.handleUserSettingsMatrixUserIdChange
|
this.handleUserSettingsMatrixUserIdChange
|
||||||
)}
|
)}
|
||||||
minLength={3}
|
pattern="^@[A-Za-z0-9._=-]+:[A-Za-z0-9.-]+\.[A-Za-z]{2,}$"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue