R
R
Roman2016-11-06 19:50:26
symfony
Roman, 2016-11-06 19:50:26

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>

What kind of input is this? Where does it come from? I'm not asking him to appear ... Senks in advance

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman, 2016-11-06
@ronik55

Approximately I began to understand, the form is called search and apparently the input climbs automatically, I rename the form and the input disappears

A
Artem Soshnikov, 2016-11-06
@artem90

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 question

Ask a Question

731 491 924 answers to any question