src/properties/class-papi-property-number.php
public function html() {
		$settings = $this->get_settings();
		$value    = $this->get_value();

		// If range type is used change the default values if empty.
		if ( $settings->type === 'range' ) {
			$settings->max  = papi_is_empty( $settings->max )
				? 100 : $settings->max;
			$settings->min  = papi_is_empty( $settings->min )
				? 0 : $settings->min;
			$settings->step = papi_is_empty( $settings->step )
				? 1 : $settings->step;
		}

		if ( $settings->min !== 0 && $value < $settings->min ) {
			$value = $settings->min;
		}

		papi_render_html_tag( 'input', [
			'id'    => $this->html_id(),
			'max'   => $settings->max,
			'min'   => $settings->min,
			'name'  => esc_attr( $this->html_name() ),
			'step'  => $settings->step,
			'type'  => esc_attr( $settings->type ),
			'value' => $value
		] );
	}
public function html() {
		$settings = $this->get_settings();
		$value    = $this->get_value();

		// If range type is used change the default values if empty.
		if ( $settings->type === 'range' ) {
			$settings->max  = papi_is_empty( $settings->max )
				? 100 : $settings->max;
			$settings->min  = papi_is_empty( $settings->min )
				? 0 : $settings->min;
			$settings->step = papi_is_empty( $settings->step )
				? 1 : $settings->step;
		}

		if ( $settings->min !== 0 && $value < $settings->min ) {
			$value = $settings->min;
		}

		papi_render_html_tag( 'input', [
			'id'    => $this->html_id(),
			'max'   => $settings->max,
			'min'   => $settings->min,
			'name'  => esc_attr( $this->html_name() ),
			'step'  => $settings->step,
			'type'  => esc_attr( $settings->type ),
			'value' => $value
		] );
	}
Render property html.