This module provides a widget dedicated for taxonomy term reference field. It displays the terms list with an optgroup format.https://www.drupal.org/project/optgroup_taxonomy_select