File "InputNumberField.php"
Full Path: /home/siazco/grocery.siazco.se/wp-content/plugins/flexible-shipping/vendor_prefixed/wpdesk/wp-forms/src/Field/InputNumberField.php
File size: 484 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace FSVendor\WPDesk\Forms\Field;
use FSVendor\WPDesk\Forms\Sanitizer\TextFieldSanitizer;
class InputNumberField extends BasicField
{
public function __construct()
{
parent::__construct();
$this->set_default_value('');
$this->set_attribute('type', 'number');
}
public function get_sanitizer()
{
return new TextFieldSanitizer();
}
public function get_template_name()
{
return 'input-number';
}
}