<?php
namespace FormKit\Widget;

class TextInput extends BaseWidget
{
    public $class = array('formkit-widget','formkit-text');
    public $type = 'text';

    public function render()
    {
        return '<input' 
            . $this->_renderAttributes(array(
                'class','id','type',
                'name','value','size','maxlength','minlength'))
                . '/>' 
                . $this->renderHint();
    }
}



<?php
namespace FormKit\Widget;

class TextInput extends BaseWidget
{
    public $class = array('formkit-widget','formkit-text');
    public $type = 'text';

    public function render()
    {
        return '<input' 
            . $this->_renderAttributes(array(
                'class','id','type',
                'name','value','size','maxlength',
                'minlength','align','src','alt','accept',
                'readonly','style'))
                . '/>' 
                . $this->renderHint();
    }
}



Add more attributes for text input
Add more attributes for text input
