/** * getCommonAttributes * * @return array */ protected function getCommonAttributes() { $attributes = parent::getCommonAttributes(); $attributes['value'] = '' !== $attributes['value'] ? parent::sanitizeFloat($attributes['value']) : ''; return $attributes; }