Add notice element to a select field

This commit is contained in:
Champ Camba
2020-02-17 20:35:17 +08:00
parent 396010c0bd
commit 8bcc8287af
+5 -2
View File
@@ -3056,10 +3056,13 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
$output .= '</div>';
if ( $this->is_error( $form_key ) ) {
$output .= $this->field_error( $this->show_error( $form_key ) );
if ( $this->is_error( $form_key) ) {
$output .= $this->field_error( $this->show_error( $form_key) );
}else if ( $this->is_notice( $form_key) ) {
$output .= $this->field_notice( $this->show_notice( $form_key) );
}
$output .= '</div>';
break;