1.1.1 • Published 1 month ago

@fidelisppm/city-state-zip-row v1.1.1

Weekly downloads
6
License
SEE LICENSE IN GI...
Repository
github
Last release
1 month ago

CityStateZipRow

An input for city, a select for state, and an input for zip in a single horizontal row. In case your graphics designer hates you.

City is a simple input element.
State is a select element populated with @fidelisppm/utils: getMiniStateOptions
Zip is an input element created by @fidelisppm/limited-input: {ZipInput}

Props

updateCity (func)
Function to run onkeyup.

defaultCity (string)
Optional default value.

updateState (func)
Function to run onchange.

defaultState (string)
Optional default value.

updateZip (func)
Function to run onchange.

defaultZip (string)
Optional default value.

Usage

<CityStateZipRow
	updateCity={props.updateCity}
	defaultCity="Boston"
	updateState={props.updateState}
	defaultState="MA"
	updateZip={props.updateZip}
	defaultZip="02108"
/>
1.1.1

1 month ago

1.1.0

1 year ago

1.0.8

2 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.4

4 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago