Answer the question
In order to leave comments, you need to log in
Symfony form, what is search input, where does it come from?
Greetings comrades. Please tell me, I create a form, and when rendering the form, some kind of incomprehensible input appears:
<input id="search" class="form-control" name="search" required="required" type="search">
<form name="search" method="post">
<input id="search" class="form-control" name="search" required="required" type="search">
<div class="form-group">
<div class="form-group">
<div class="form-group">
<div class="form-group">
<div class="form-group">
<input id="search__token" name="search[_token]" value="n5rHEL4lyVBtXid1qjHh_LTk5jrsvrg3-NQLe6GkHHo" type="hidden">
</form>
Answer the question
In order to leave comments, you need to log in
Approximately I began to understand, the form is called search and apparently the input climbs automatically, I rename the form and the input disappears
Initially, there is nothing in the form. Either you added this field yourself, or you inherited your Type from the type who adds this role.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question