From faaffe001d23978c4ecdca6e06dccc422998a9a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Fri, 11 Nov 2022 12:31:46 +0300 Subject: [PATCH] Fixed #3237 - Chips | Cannot remove p-focus --- src/components/chips/Chips.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/chips/Chips.vue b/src/components/chips/Chips.vue index c1a5e5423a..08e10d36ef 100755 --- a/src/components/chips/Chips.vue +++ b/src/components/chips/Chips.vue @@ -256,6 +256,10 @@ export default { this.$refs.input.value = ''; this.inputValue = ''; + setTimeout(() => { + this.maxedOut && (this.focused = false); + }, 0); + if (preventDefault) { event.preventDefault(); }