eferenceKind }}&id={{ .ValueName }}-keys"
      hx-include="#input-{{ .ValueName }}-namespace,#input-{{ .ValueName }}-name"
      hx-swap="outerHTML"
      hx-target="#{{ .ValueName }}-keys"
      hx-select="#{{ .ValueName }}-keys"
      hx-trigger="change from:previous input" />
    {{ template "components/datalist" ForDatalist .ValueName "keys" .DatalistOptions.Keys }}
  {{ else if eq .ValueReferenceKind "Package" }}
    <input
      type="text"
      autocomplete="off"
      {{ if .Autofocus }}autofocus{