{ end }}
      name="{{ .FormValueName }}[package]"
      id="input-{{ .ValueName }}-name"
      {{ if ne .ValueReference.PackageRef nil }}value="{{ .ValueReference.PackageRef.Name }}"{{ end }}
      list="{{ .ValueName }}-names"
      class="form-control"
      placeholder="Package"
      aria-label="Package" />
    {{ template "components/datalist" ForDatalist .ValueName "names" .DatalistOptions.Names }}
    <input
      type="text"
      autocomplete="off"
      name="{{ .FormValueName }}[value]"
      {