diff --git a/assets/src/components/account/UserProfile.tsx b/assets/src/components/account/UserProfile.tsx index b9878f53b..915118657 100644 --- a/assets/src/components/account/UserProfile.tsx +++ b/assets/src/components/account/UserProfile.tsx @@ -88,14 +88,17 @@ class UserProfile extends React.Component { }; handleChangeFullName = (e: React.ChangeEvent) => { + this.setState({isEditing: true}); this.setState({fullName: e.target.value}); }; handleChangeDisplayName = (e: React.ChangeEvent) => { + this.setState({isEditing: true}); this.setState({displayName: e.target.value}); }; handleChangeProfilePhotoUrl = (e: React.ChangeEvent) => { + this.setState({isEditing: true}); this.setState({profilePhotoUrl: e.target.value}); }; @@ -180,7 +183,6 @@ class UserProfile extends React.Component { value={fullName} onChange={this.handleChangeFullName} placeholder="What's your name?" - disabled={!isEditing} /> @@ -192,7 +194,6 @@ class UserProfile extends React.Component { value={displayName} onChange={this.handleChangeDisplayName} placeholder="How would you like your name to be displayed?" - disabled={!isEditing} /> @@ -216,7 +217,6 @@ class UserProfile extends React.Component { value={profilePhotoUrl} onChange={this.handleChangeProfilePhotoUrl} placeholder="Enter an image URL for your profile photo" - disabled={!isEditing} />