how to use Nette\Forms\Form into component
- alnux
- Member | 139
hi, im trying to use form into component but it tell me that i have to initialize, im using the last version of nette framework
i have this code by example
but the it show me an exception
Create a form or call Nette\Forms\Form::initialize() before the headers
are sent to initialize CSRF protection. (output started at
/Volumes/ALLEN-FILES/allenap/Documents/WEB3.0/DOMINIOS/GPS.ALNUXSOFT.COM/www/nette/temp/cache/latte/Common-Templates-@adminpanel.latte--de56674d5e.php:103).
targeting the $form->addText(‘name’,
‘Name:’) line.
Could someone help me how to use forms into components and how to render??
really really thanks
Last edited by alnux (2023-09-24 01:25)