Skip to content

Commit

Permalink
Custom user ID validation should no longer show when disabled. (#1946)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyanziano committed Nov 5, 2019
1 parent 855fdec commit 9c4a6ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased
## Fixed
- [client] Added an empty state for the recent bots submenu in the app menu for Windows in PR [1945](https://github.com/microsoft/BotFramework-Emulator/pull/1945)
- [client] Fixed a bug that was showing the custom user ID validation message when disabled in PR [1946](https://github.com/microsoft/BotFramework-Emulator/pull/1946)

## v4.6.0 - 2019 - 10 - 31
## Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export class AppSettingsEditor extends React.Component<AppSettingsEditorProps, A
name="userGUID"
onChange={this.onInputChange}
required={useCustomId}
errorMessage={userGUID ? '' : 'Enter a User ID'}
errorMessage={useCustomId && !userGUID ? 'Enter a User ID' : ''}
/>
</Row>
</fieldset>
Expand Down

0 comments on commit 9c4a6ce

Please sign in to comment.