From 7edc3fc3b258e4dd23e6aeee5304fb5dc0a4d365 Mon Sep 17 00:00:00 2001 From: "Michael K. Ocansey" Date: Mon, 22 Jul 2024 05:24:41 +0000 Subject: [PATCH 1/2] Fix: #303 --- resources/views/components/input.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/components/input.blade.php b/resources/views/components/input.blade.php index a0c0d8e..8b909ad 100644 --- a/resources/views/components/input.blade.php +++ b/resources/views/components/input.blade.php @@ -161,7 +161,7 @@ type="{{ $type }}" id="{{ $name }}" name="{{ $name }}" - value="{{ $selected_value }}" + value="{{ html_entity_decode($selected_value) }}" autocomplete="new-password" placeholder="{{ $placeholder_label }}{{$required_symbol}}" @if($error_message != '') From 95aab39ba11f4814255185531c7d0f992a167207 Mon Sep 17 00:00:00 2001 From: "Michael K. Ocansey" Date: Mon, 22 Jul 2024 05:39:50 +0000 Subject: [PATCH 2/2] Fix: #304 --- public/js/select.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/select.js b/public/js/select.js index e4abe1f..e61d2b2 100644 --- a/public/js/select.js +++ b/public/js/select.js @@ -136,7 +136,7 @@ class BladewindSelect { e.stopImmediatePropagation(); }); } - } /*else { + } else { if (input.value.includes(this.selectedValue)) { this.unsetValue(item); } else { @@ -151,7 +151,7 @@ class BladewindSelect { this.moveLabel(); } this.scrollbars(); - }*/ + } stripComma(input); changeCss(`${this.clickArea}`, '!border-red-400', 'remove'); }