acf_field['prepend'] ) {
$output .= sprintf( '%s', esc_html( $this->acf_field['prepend'] ) );
}
$output .= parent::render_input( [ 'type' => 'range' ], $is_quickedit );
$len = max( 3, strlen( (string) $this->acf_field['max'] ) );
$output .= ' 'number',
'id' => $this->acf_field['key'] . '-alt',
'data-acf-field-key' => $this->acf_field['key'],
'step' => $this->acf_field['step'],
'style' => sprintf(
'min-width: %1$sem;max-width:%1$sem',
1.8 + $len * 0.7
)
] ) .' />';
if ( $this->acf_field['append'] ) {
$output .= sprintf( '%s', esc_html( $this->acf_field['append'] ) );
}
return $output;
}
}