Add placeholder attribute to range input

This commit is contained in:
Tetrakern 2024-08-18 16:25:51 +02:00
parent dca2f145b0
commit a5c6e517e9

View File

@ -34,6 +34,7 @@ class Fictioneer_Customize_Range_Control extends \WP_Customize_Control {
min="<?php echo esc_attr( $this->input_attrs['min'] ?? 0 ); ?>"
max="<?php echo esc_attr( $this->input_attrs['max'] ?? 100 ); ?>"
step="<?php echo esc_attr( $this->input_attrs['step'] ?? 1 ); ?>"
placeholder="<?php echo esc_attr( $this->input_attrs['placeholder'] ?? 0 ); ?>"
<?php $this->link(); ?>
>