# site-edit-form

## Overview

Form for editing an existing Site. The admin can change the display attributes (name, type, address, timezone). The form is prefilled from the current Site. Submitting calls `updateSite` with the changed fields. The Site's parent Company is fixed at create time and cannot be reassigned from this screen — to confirm the parent Company, navigate back to the site-detail page (the edit form intentionally does not render the Company name).

## Screen Type

Form

### Form Details

#### Input Fields

| Field Name | Field Type | Required (Yes/No) | Options / Lookup |
| --- | --- | --- | --- |
| Name | text | Yes | — |
| Type | select | Yes | `SITE_TYPE_OPTIONS` (`lib/site-options.ts`): WAREHOUSE, STORE, OFFICE, FACTORY, DISTRIBUTION_CENTER — editable but operationally discouraged post-create (see site-management business flow). |
| Street | text | No | — |
| City | text | No | — |
| State | text | No | — |
| Postal Code | text | No | — |
| Country | select | No | ISO 3166-1 country list rendered as a searchable combobox (`COUNTRY_OPTIONS` via `i18n-iso-countries`, e.g. `US`, `JP`, `GB`). |
| Timezone | select | No | IANA timezone list rendered as a searchable combobox (`TIMEZONE_OPTIONS` via `Intl.supportedValuesOf("timeZone")`, falls back to free-text input on older browsers where `Intl.supportedValuesOf` is unavailable). |

## Access Control

- [admin](../actor/admin.md)
