Fix to ensure screens are listed in the navigateTo button action and that any URL configured there is trimmed
This commit is contained in:
parent
6691b2d4ed
commit
22ae329a2a
|
@ -68,6 +68,7 @@
|
|||
on:blur={() => dispatch("blur")}
|
||||
{placeholder}
|
||||
{error}
|
||||
options={allOptions}
|
||||
/>
|
||||
{#if !disabled}
|
||||
<div class="icon" on:click={bindingDrawer.show}>
|
||||
|
|
|
@ -43,7 +43,9 @@
|
|||
title="Destination"
|
||||
placeholder="/screen"
|
||||
value={parameters.url}
|
||||
on:change={value => (parameters.url = value.detail)}
|
||||
on:change={value => {
|
||||
parameters.url = value.detail ? value.detail.trim() : value.detail
|
||||
}}
|
||||
{bindings}
|
||||
options={urlOptions}
|
||||
appendBindingsAsOptions={false}
|
||||
|
@ -55,7 +57,9 @@
|
|||
title="Destination"
|
||||
placeholder="/url"
|
||||
value={parameters.url}
|
||||
on:change={value => (parameters.url = value.detail)}
|
||||
on:change={value => {
|
||||
parameters.url = value.detail ? value.detail.trim() : value.detail
|
||||
}}
|
||||
{bindings}
|
||||
/>
|
||||
<div />
|
||||
|
|
Loading…
Reference in New Issue