Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit a10a83c

Browse files
committed
Merge pull request #285 from github/fixes/242-validation-adornment
Keep validation adornment visibility up to date
2 parents 86bb5a8 + 594da08 commit a10a83c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/GitHub.UI.Reactive/Controls/Validation/ValidationMessage.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public ValidationMessage()
3333
.Do(CreateBinding)
3434
.Select(control =>
3535
Observable.Merge(
36+
this.WhenAnyValue(x => x.ShowError),
3637
control.Events().TextChanged
3738
.Throttle(TimeSpan.FromSeconds(ShowError ? defaultTextChangeThrottle : TextChangeThrottle),
3839
RxApp.MainThreadScheduler)

0 commit comments

Comments
 (0)