I'm trying tu use Twig in my project. Made CRUD with scaffold and everything works with Volt but when I try to use Twig and add styling to my form it does not. Input has no value. Only the properties that I put manually (name, id, class, etc.). How do You access value (for input) field from Twig to get value for edit? What am I doing wrong?
This works
<div class="form-group">
<label for="first_name" class="col-sm-2 control-label">First Name</label>
<div class="col-sm-10">
{{ textField("first_name") }}
</div>
</div>
This not
<div class="form-group">
<label for="first_name" class="col-sm-2 control-label">First Name</label>
<div class="col-sm-10">
{{ textField({"name" : "first_name", "id" : "first_name", "class" : "form-control" }) }}
</div>
</div>