Allow editing bindings in filters inline as long as JS is not used

This commit is contained in:
Andrew Kingston 2024-10-25 11:25:30 +01:00
parent 6a6ae2c4e7
commit 7dd245d47d
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@
<div class="field">
<Input
disabled={filter.noValue}
readonly={true}
readonly={isJS}
value={isJS ? "(JavaScript function)" : readableValue}
on:change={onChange}
/>

View File

@ -169,7 +169,7 @@
{#if filter.valueType === FilterValueType.BINDING}
<Input
disabled={filter.noValue}
readonly={true}
readonly={isJS}
value={isJS ? "(JavaScript function)" : readableValue}
on:change={onChange}
/>