Skip to content

Commit

Permalink
Clear switch view input on blur
Browse files Browse the repository at this point in the history
  • Loading branch information
robgonnella committed Jun 25, 2023
1 parent 5385b41 commit 100e8e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app-info/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ package app_info
const NAME = "ops"

// VERSION app version
const VERSION = "v0.1.4"
const VERSION = "v0.1.5"
1 change: 1 addition & 0 deletions internal/ui/component/switch-view-input.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func NewSwitchViewInput(onSubmit func(text string)) *SwitchViewInput {
input.SetBlurFunc(func() {
input.SetBorder(false)
input.SetPlaceholder("")
input.SetText("")
})

ai := &SwitchViewInput{
Expand Down

0 comments on commit 100e8e4

Please sign in to comment.