| @@ -46,17 +46,9 @@ | ||
| 46 | 46 | public function show_on_form_builder( $name = '' ) { |
| 47 | 47 | $size = FrmField::get_option( $this->field, 'size' ); |
| 48 | 48 | $max = FrmField::get_option( $this->field, 'max' ); |
| 49 | 49 | |
| 50 | - $html_atts = array( | |
| 51 | - 'name' => $this->html_name( $name ), | |
| 52 | - 'id' => $this->html_id(), | |
| 53 | - 'rows' => $max, | |
| 54 | - 'class' => 'dyn_default_value', | |
| 55 | - 'placeholder' => FrmField::get_option( $this->field, 'placeholder' ), | |
| 56 | - ); | |
| 57 | - echo '<textarea'; | |
| 58 | - FrmAppHelper::array_to_html_params( $html_atts, true ); | |
| 50 | + echo '<textarea name="' . esc_attr( $this->html_name( $name ) ) . '" rows="' . esc_attr( $max ) . '" id="' . esc_attr( $this->html_id() ) . '" class="dyn_default_value"'; | |
| 59 | 51 | |
| 60 | 52 | if ( $size ) { |
| 61 | 53 | if ( is_numeric( $size ) ) { |
| 62 | 54 | $size .= 'px'; |