Addressable::setAllowedStates
Sets the states that a user can select. By default they can input any state into a text field, but if you set an array it will be replaced with a dropdown field.
Signature
public function setAllowedStates(array
$states )
Parameters
$states
— array