Allow editing bindings in filters inline as long as JS is not used
This commit is contained in:
parent
6a6ae2c4e7
commit
7dd245d47d
|
@ -83,7 +83,7 @@
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<Input
|
<Input
|
||||||
disabled={filter.noValue}
|
disabled={filter.noValue}
|
||||||
readonly={true}
|
readonly={isJS}
|
||||||
value={isJS ? "(JavaScript function)" : readableValue}
|
value={isJS ? "(JavaScript function)" : readableValue}
|
||||||
on:change={onChange}
|
on:change={onChange}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -169,7 +169,7 @@
|
||||||
{#if filter.valueType === FilterValueType.BINDING}
|
{#if filter.valueType === FilterValueType.BINDING}
|
||||||
<Input
|
<Input
|
||||||
disabled={filter.noValue}
|
disabled={filter.noValue}
|
||||||
readonly={true}
|
readonly={isJS}
|
||||||
value={isJS ? "(JavaScript function)" : readableValue}
|
value={isJS ? "(JavaScript function)" : readableValue}
|
||||||
on:change={onChange}
|
on:change={onChange}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue