for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @link http://www.newicon.net/neon
* @copyright Copyright (c) 21/09/2016 Newicon Ltd
* @license http://www.newicon.net/neon/license/
*/
namespace neon\core\form\fields\el;
use neon\core\form\fields\el\assets\ElAsset;
use neon\core\form\fields\Real;
use neon\core\helpers\Html;
class Number extends Real
{
* The DDS data type to store the value of the field
* @var string
public $ddsDataType = 'real';
public function registerScripts($view)
ElAsset::register($view);
}
* @inheritdoc
public function getFieldHtml()
return Html::tag('el-input-number', '', ['name'=>$this->getInputName()]);
public function getComponentDetails()
return [
'Number', 'icon' => 'fa fa-italic"', 'group' => 'Number', 'order' => 520
];