Log in
Model

Select

Magento\Customer\Model\Metadata\Form\Select

What it does

This class handles select dropdown form elements for customer attributes in Magento 2.

Developers use it to extract, validate, and format select field values when working with customer forms, ensuring required fields are filled and converting option values to their display labels for output.

Public Methods

  • extractValue()
  • validateValue()
  • compactValue()
  • restoreValue()
  • outputValue()