formers / former

A powerful form builder, for Laravel and other frameworks (stand-alone too)
https://formers.github.io/former/
1.34k stars 205 forks source link

Class 'Button' not found #560

Closed ajimatahari closed 6 years ago

ajimatahari commented 6 years ago

an Error comes when i try to used :

<?= Former::actions( Button::submit('Submit'), Button::reset('Reset') ) ?>

but everything other than button is working

error Message : Class 'Button' not found

claar commented 6 years ago

Hi @ajimatahari,

Good catch -- our documentation appears to be out of date on this.

Until it's updated, please try the following syntax instead:

<?= Former::actions(Former::primary_submit('Submit'), Former::default_reset('Reset')) ?>
ajimatahari commented 6 years ago

done, thanks a lot