title: Primefaces input text inside select many menu
body: <p>I need to make a selectManyMenu with spinner or input text inside, to be able to get the following result:
  <img src="https://i.stack.imgur.com/R4e0D.png" alt="enter image description here"></p>
  
  <p>Here after my code:</p>
  
  <pre><code>&lt;p:selectManyMenu id="opt-list" value="#{myBean.selectedOptionList}"
                  converter="optConverter" filter="true"
                  filterMatchMode="contains" showCheckbox="true"
                  var="selectedOpt"&gt;
  
      &lt;f:selectItems value="#{myBean.optionList}" var="opt" itemLabel="#{opt.name}" itemValue="#{opt}" /&gt;
      &lt;p:column&gt;
          &lt;h:outputText value="#{selectedOpt.name}" /&gt;
      &lt;/p:column&gt;
  
      &lt;p:column&gt;
          &lt;p:spinner value="#{selectedOpt.nb}" size="1" /&gt;
      &lt;/p:column&gt;
  &lt;/p:selectManyMenu&gt;
  </code></pre>
  
  <p>The idea is that the user should be able to select an option and specify a number.
  but during execution, i get the following warning/error:</p>
  
  <pre><code>WARNING [javax.enterprise.resource.webcontainer.jsf.lifecycle] .....\.....\my-page.xhtml @65,84 value="#{selectedOpt.nb}": JBWEB006016: Target Unreachable, identifier ''selectedOpt'' resolved to null: javax.el.PropertyNotFoundException: ....\......\my-page.xhtml @65,84 value="#{selectedOpt.nb}": JBWEB006016: Target Unreachable, identifier ''selectedOpt'' resolved to null
  </code></pre>