mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
Enable show prefix for phone input in Settings
This fixes an unrelated bug where the currently selected country's prefix number wasn't being displayed. Since other country dropdown's show the prefix, and this is also for phone numbers, it seems good to also show it here as well.
This commit is contained in:
parent
8bf5e1d19f
commit
5120ff83be
1 changed files with 1 additions and 0 deletions
|
@ -235,6 +235,7 @@ export default class PhoneNumbers extends React.Component {
|
||||||
value={this.state.phoneCountry}
|
value={this.state.phoneCountry}
|
||||||
disabled={this.state.verifying}
|
disabled={this.state.verifying}
|
||||||
isSmall={true}
|
isSmall={true}
|
||||||
|
showPrefix={true}
|
||||||
/>
|
/>
|
||||||
<Field id="newPhoneNumber" ref="newPhoneNumber" label={_t("Phone Number")}
|
<Field id="newPhoneNumber" ref="newPhoneNumber" label={_t("Phone Number")}
|
||||||
type="text" autoComplete="off" disabled={this.state.verifying} />
|
type="text" autoComplete="off" disabled={this.state.verifying} />
|
||||||
|
|
Loading…
Reference in a new issue