0
In the Phpstorm is said in a certain button, through a tooltip:
Redundant default attribute value assingment
When exactly this line is made:
<button type="submit" id="btnSubmit" class="width-65 pull-right btn btn-sm btn-success">
<span class="bigger-110">Cadastrar</span>
<i class="ace-icon fa fa-arrow-right icon-on-right"></i>
</button>
It really is a redundancy to have a single button on the form and then assign type='submit'
just for him? I can eliminate this line without problems?
It does not cause problems, the
click
in abutton
within a form will make asubmit
, then define howsubmit
is redundant– Denis Rudnei de Souza