PostcodeField
constPostcodeField:ForwardRefExoticComponent<PostcodeFieldProps&RefAttributes<PostcodeFieldElement>>
The postcode field of @gatepost/field as a React component. The server renders the element
with its attributes, and the browser upgrades it. A plain form submits its form value, so the
component needs no state of its own. The ref gives the element.
Example
Section titled “Example”import { PostcodeField } from '@gatepost/react';
<PostcodeField name="postcode" required onChange={(detail) => detail.value} />;Unofficial. Not made or endorsed by NIPOST.