Form Select

This is a custom select form element. This element reuses the form float label styles and JavaScript in order to provide the float label interaction.

Requires:

  • dist/js/foreach-nodelist/vendors/foreach-nodelist.js
  • dist/js/form-float-label.bundle.js
.is-required
To make a form item required, add the required attribute to the element and the form-item__required icon to the label.
.is-disabled
Disable the form element. Make sure you add the disabled to the form element as well.
.form-select--white
White color variation for use on dark backgrounds.