{#if unsupported}
Resource argument is unsupported for security reasons and won't be displayed, use the resource
select component instead.
{:else}
{
path = e.detail
resourceToValue()
}}
bind:value={path}
resourceType={format.split('-').length > 1 ? format.substring('resource-'.length) : undefined}
/>
{/if}