Bootstrap 4 - how to make 100% width search input in Navbar?
<p>How to make 100% width of the search input in navbar?</p>

<p><a href="https://i.stack.imgur.com/R1Nyi.png" rel="noreferrer"><img src="https://i.stack.imgur.com/R1Nyi.png" alt="enter image description here"></a></p>

<p>The field is limited in width:</p>

<pre><code>&lt;nav class="navbar navbar-light navbar-dark bg-inverse"&gt;
  &lt;a class="navbar-brand" href="#"&gt;Navbar&lt;/a&gt;
  &lt;ul class="nav navbar-nav"&gt;
    &lt;li class="nav-item active"&gt;
      &lt;a class="nav-link" href="#"&gt;Home &lt;span class="sr-only"&gt;(current)&lt;/span&gt;&lt;/a&gt;
    &lt;/li&gt;
    &lt;li class="nav-item"&gt;
      &lt;a class="nav-link" href="#"&gt;Features&lt;/a&gt;
    &lt;/li&gt;
    &lt;li class="nav-item"&gt;
      &lt;a class="nav-link" href="#"&gt;Pricing&lt;/a&gt;
    &lt;/li&gt;
    &lt;li class="nav-item"&gt;
      &lt;a class="nav-link" href="#"&gt;About&lt;/a&gt;
    &lt;/li&gt;
  &lt;/ul&gt;

  &lt;ul class="nav navbar-nav pull-xs-right"&gt;
    &lt;li class="nav-item"&gt;
      &lt;form class="form-inline "&gt;
        &lt;input class="form-control" type="text" placeholder="Search"&gt;
        &lt;button class="btn btn-outline-success" type="submit"&gt;Search&lt;/button&gt;
      &lt;/form&gt;
    &lt;/li&gt;
    &lt;li class="nav-item"&gt;
      &lt;a class="nav-link" href="#"&gt;User Name&lt;/a&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
&lt;/nav&gt;
</code></pre>

<p>Here is the fiddle:</p>

<p><a href="https://jsfiddle.net/Dieselnick/tdoz2o4d/" rel="noreferrer">https://jsfiddle.net/Dieselnick/tdoz2o4d/</a></p>