{ path = e.detail resourceToValue() }} bind:value={path} resourceType={format.split('-').length > 1 ? format.substring('resource-'.length) : undefined} />