mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-23 02:35:49 +08:00
Improve SMS Test's initial value
This commit is contained in:
parent
a84752bbb5
commit
f39358e122
@ -962,15 +962,15 @@ class ProviderEditPage extends React.Component {
|
|||||||
<Col span={4} >
|
<Col span={4} >
|
||||||
<Input.Group compact>
|
<Input.Group compact>
|
||||||
<CountryCodeSelect
|
<CountryCodeSelect
|
||||||
style={{width: "30%"}}
|
style={{width: "90px"}}
|
||||||
value={this.state.provider.content}
|
initValue={this.state.provider.content}
|
||||||
onChange={(value) => {
|
onChange={(value) => {
|
||||||
this.updateProviderField("content", value);
|
this.updateProviderField("content", value);
|
||||||
}}
|
}}
|
||||||
countryCodes={this.props.account.organization.countryCodes}
|
countryCodes={this.props.account.organization.countryCodes}
|
||||||
/>
|
/>
|
||||||
<Input value={this.state.provider.receiver}
|
<Input value={this.state.provider.receiver}
|
||||||
style={{width: "70%"}}
|
style={{width: "150px"}}
|
||||||
placeholder = {i18next.t("user:Input your phone number")}
|
placeholder = {i18next.t("user:Input your phone number")}
|
||||||
onChange={e => {
|
onChange={e => {
|
||||||
this.updateProviderField("receiver", e.target.value);
|
this.updateProviderField("receiver", e.target.value);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user