Yes that should have been protected instead of private, has been fixed in the develop branches.Hello all , when i tried to extend the form i got the following error. when i changed the core function to protected it worked is this the bug?
ErrorException [ Error ]: Call to private method Form::attr_to_string() from context 'Fuel\Core\Form'
COREPATH/classes/form.php @ line 436
The problem here is that it always adds a value attribute? Is that invalid HTML?Secondly
echo \Form::input(array('type'=>'image','name'=>'add_dept','src'=>Asset::img('add.png')));
showed me in the browser
" value="" id="form_add_dept" />
The problem here is that it always adds a value attribute? Is that invalid HTML?[/quote]Secondly
echo \Form::input(array('type'=>'image','name'=>'add_dept','src'=>Asset::img('add.png')));
showed me in the browser
" value="" id="form_add_dept" />
echo \Form::input(array('type'=>'image','name'=>'add_dept','src'=>Asset::img('add.png')));code . Is this the way to use image using form_input() method?
It looks like you're new here. If you want to get involved, click one of these buttons!