public function spin($fieldName, $options = []) {
		if (!is_array($options)) {
			$options = [];
		}
		$defaultOptions = $this->_getOptionsForElem('spin.defaultOpt');
		$options = $defaultOptions + $options;
		$listExtraOptions = $this->_getOptionsForElem('spin.extraOpt');
		$this->_prepareExtraOptions($options, $listExtraOptions, 'data-spin-');
		$numbers = '';
		$decimals = '';
		if (isset($options['data-spin-max']) && !empty($options['data-spin-max'])) {
			$numbers = mb_strlen($options['data-spin-max']);
		}
		if (isset($options['data-spin-decimals']) && !empty($options['data-spin-decimals'])) {
			$decimals = (int)$options['data-spin-decimals'];
		}

		$options['data-inputmask-mask'] = '9{1,' . $numbers . '}';
		if (!empty($decimals)) {
			$options['data-inputmask-mask'] .= '.9{' . $decimals . '}';
		}

		return $this->text($fieldName, $options);
	}