You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Bring over email address management
This commit is contained in:
@@ -38,6 +38,13 @@ export default class Field extends React.PureComponent {
|
||||
return this.refs.fieldInput.value;
|
||||
}
|
||||
|
||||
set value(newValue) {
|
||||
if (!this.refs.fieldInput) {
|
||||
throw new Error("No field input reference");
|
||||
}
|
||||
this.refs.fieldInput.value = newValue;
|
||||
}
|
||||
|
||||
render() {
|
||||
const extraProps = Object.assign({}, this.props);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user