From 44343be172f9288f65680a7b8e09effddd1a0d64 Mon Sep 17 00:00:00 2001 From: Jeremy Angele Date: Wed, 27 Nov 2024 23:16:06 +0100 Subject: [PATCH] Remove escape chars on input columns --- packages/tables/resources/views/columns/select-column.blade.php | 2 +- .../tables/resources/views/columns/text-input-column.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/tables/resources/views/columns/select-column.blade.php b/packages/tables/resources/views/columns/select-column.blade.php index f6d792dae3e..8409f38664b 100644 --- a/packages/tables/resources/views/columns/select-column.blade.php +++ b/packages/tables/resources/views/columns/select-column.blade.php @@ -34,7 +34,7 @@ return } - let newState = $refs.newState.value + let newState = $refs.newState.value.replaceAll('\\'+String.fromCharCode(34), String.fromCharCode(34)) if (state === newState) { return diff --git a/packages/tables/resources/views/columns/text-input-column.blade.php b/packages/tables/resources/views/columns/text-input-column.blade.php index d1ac776979d..18715bd675b 100644 --- a/packages/tables/resources/views/columns/text-input-column.blade.php +++ b/packages/tables/resources/views/columns/text-input-column.blade.php @@ -49,7 +49,7 @@ return } - let newState = $refs.newState.value + let newState = $refs.newState.value.replaceAll('\\'+String.fromCharCode(34), String.fromCharCode(34)) if (state === newState) { return