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
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:
@@ -235,6 +235,7 @@ export default class PhoneNumbers extends React.Component {
|
||||
value={this.state.phoneCountry}
|
||||
disabled={this.state.verifying}
|
||||
isSmall={true}
|
||||
showPrefix={true}
|
||||
/>
|
||||
<Field id="newPhoneNumber" ref="newPhoneNumber" label={_t("Phone Number")}
|
||||
type="text" autoComplete="off" disabled={this.state.verifying} />
|
||||
|
||||
Reference in New Issue
Block a user