safari is overrriding input text default value in cakephp3

42 views Asked by At

When using safari browser for a cakephp3.2 application it overrides the default value set in the txtbox. In another browser eg Firefox in windows or IE I get the correct output being displayed as default value.

I have tried this in firefox 66 win10 running cakephp3.2 php7 and mysql 5.7 Also tried this on safari browser 11.0.2 on a mac OS

echo $this->Form->input('username',array("label"=>false, "class"=>"form-control", 'value'=>$tutor->user->username));?>

the results differ on each browser. The correct output is in firefox browser on windows eg [email protected]

safari on MacOs overrides the value and instead places in another email used to login to the application eg [email protected]

0

There are 0 answers