diff --git a/ruby_event_store-browser/elm/src/Search.elm b/ruby_event_store-browser/elm/src/Search.elm index 093eba88a2..179574ef7d 100644 --- a/ruby_event_store-browser/elm/src/Search.elm +++ b/ruby_event_store-browser/elm/src/Search.elm @@ -48,7 +48,7 @@ update msg model flags onSubmit = case msg of StreamChanged stream -> if isExactStream stream model.streams then - ( model, onSubmit stream ) + ( {model | value = stream }, onSubmit stream ) else ( { model | value = stream }, searchStreams flags stream )