Fix for being unable to type in the form fields on the add server dialog when launched from the tab bar

Closes #780
This commit is contained in:
Eric Newport
2018-04-27 20:16:54 -04:00
parent 662d97b773
commit e8444a6ef3
2 changed files with 8 additions and 0 deletions

View File

@@ -48,6 +48,8 @@ Release date: TBD
[#708](https://github.com/mattermost/desktop/issues/708)
- Fixed an issue where the main screen opens a blank page when a tab is dropped into the screen.
[#667](https://github.com/mattermost/desktop/issues/667)
- Fixed an issue that prevented typing in the form fields on the add server dialog when launched from the tab bar.
[#780](https://github.com/mattermost/desktop/issues/780)
#### Windows
- Fixed `file://` protocol not working. But localhost URL will not continue to work.

View File

@@ -148,6 +148,9 @@ export default class NewTeamModal extends React.Component {
value={this.state.teamName}
placeholder='Server Name'
onChange={this.handleTeamNameChange.bind(this)}
onClick={(e) => {
e.stopPropagation();
}}
/>
<FormControl.Feedback/>
<HelpBlock>{'The name of the server displayed on your desktop app tab bar.'}</HelpBlock>
@@ -163,6 +166,9 @@ export default class NewTeamModal extends React.Component {
value={this.state.teamUrl}
placeholder='https://example.com'
onChange={this.handleTeamUrlChange.bind(this)}
onClick={(e) => {
e.stopPropagation();
}}
/>
<FormControl.Feedback/>
<HelpBlock className='NewTeamModal-noBottomSpace'>{'The URL of your Mattermost server. Must start with http:// or https://.'}</HelpBlock>