Submit Button

Submit buttons are special buttons triggering form submit.

Default submit

As SubmitButton is extending Button, all options of the base class can be applied to SubmitButton, too.


<?= \macgyer\yii2materializecss\widgets\form\SubmitButton::widget(); ?>

<button type="submit" id="w0" class="btn">
    Submit
</button>

Rendered result