Region
Magento\Customer\Model\Renderer\Region
What it does
This class renders the region/state field in customer address forms throughout Magento 2.
It intelligently displays either a dropdown select menu (when predefined regions exist for the selected country) or a text input field (when no regions are defined), handling both region and region_id form elements.
Developers use this renderer to ensure consistent region field behavior across customer address forms in admin and frontend.
Public Methods
- render()