Skip to content

fillNewStateForm

fillNewStateForm(form, definition): [string, string][]

Defined in: packages/simply-settings-core/src/address/newStateForm.ts:230

The fields to POST to add one state: the form’s own fields, the state’s name, code, and integration value (the name, as the upstream Apex does), and the Add button.

NewStateForm

From parseNewStateForm.

StateDefinition

The state to add.

[string, string][]

Name/value pairs in submission order.