mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 18:25:49 +03:00
Fix field placeholder regression
This commit is contained in:
parent
0fd5714e21
commit
6559fd499e
3 changed files with 4 additions and 4 deletions
|
@ -238,7 +238,7 @@ export default class PasswordLogin extends React.Component {
|
||||||
type="text"
|
type="text"
|
||||||
label={_t("Phone")}
|
label={_t("Phone")}
|
||||||
value={this.state.phoneNumber}
|
value={this.state.phoneNumber}
|
||||||
prefix={phoneCountry}
|
prefixComponent={phoneCountry}
|
||||||
onChange={this.onPhoneNumberChanged}
|
onChange={this.onPhoneNumberChanged}
|
||||||
onBlur={this.onPhoneNumberBlur}
|
onBlur={this.onPhoneNumberBlur}
|
||||||
disabled={this.props.disableSubmit}
|
disabled={this.props.disableSubmit}
|
||||||
|
|
|
@ -473,7 +473,7 @@ export default createReactClass({
|
||||||
type="text"
|
type="text"
|
||||||
label={phoneLabel}
|
label={phoneLabel}
|
||||||
value={this.state.phoneNumber}
|
value={this.state.phoneNumber}
|
||||||
prefix={phoneCountry}
|
prefixComponent={phoneCountry}
|
||||||
onChange={this.onPhoneNumberChange}
|
onChange={this.onPhoneNumberChange}
|
||||||
onValidate={this.onPhoneNumberValidate}
|
onValidate={this.onPhoneNumberValidate}
|
||||||
/>;
|
/>;
|
||||||
|
|
|
@ -47,8 +47,8 @@ export default class RoomAliasField extends React.PureComponent {
|
||||||
<Field
|
<Field
|
||||||
label={_t("Room address")}
|
label={_t("Room address")}
|
||||||
className="mx_RoomAliasField"
|
className="mx_RoomAliasField"
|
||||||
prefix={poundSign}
|
prefixComponent={poundSign}
|
||||||
postfix={domain}
|
postfixComponent={domain}
|
||||||
ref={ref => this._fieldRef = ref}
|
ref={ref => this._fieldRef = ref}
|
||||||
onValidate={this._onValidate}
|
onValidate={this._onValidate}
|
||||||
placeholder={_t("e.g. my-room")}
|
placeholder={_t("e.g. my-room")}
|
||||||
|
|
Loading…
Reference in a new issue