From 24f026c8957a381b6cfc9fa759d0379420d8b149 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Thu, 2 Feb 2023 23:49:36 +0100 Subject: [PATCH] FIX: correctly filters input with pre-filled value (#20154) Before this fix we would fill the input but that wouldn't trigger the actual filtering. --- .../discourse/components/chat-emoji-picker.hbs | 5 ++++- .../discourse/components/chat-emoji-picker.js | 11 +++-------- plugins/chat/spec/system/chat_composer_spec.rb | 10 ++++++++++ 3 files changed, 17 insertions(+), 9 deletions(-) diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-emoji-picker.hbs b/plugins/chat/assets/javascripts/discourse/components/chat-emoji-picker.hbs index 70fe2c5b466..e274c58f932 100644 --- a/plugins/chat/assets/javascripts/discourse/components/chat-emoji-picker.hbs +++ b/plugins/chat/assets/javascripts/discourse/components/chat-emoji-picker.hbs @@ -14,11 +14,14 @@