<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - List boxes set to "input required" shouldn't offer NULL for input"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=122319">122319</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>List boxes set to "input required" shouldn't offer NULL for input
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.1.4.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Base
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>robert@familiegrosskopf.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=147813" name="attach_147813" title="Open the form and have a look to both listboxes - one offers NULL, the other not.">attachment 147813</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=147813&action=edit" title="Open the form and have a look to both listboxes - one offers NULL, the other not.">[details]</a></span>
Open the form and have a look to both listboxes - one offers NULL, the other
not.

If you create list boxes in forms the first row in list boxes will be empty for
setting NULL to the field of the data source of the form.

You could switch this behaviour when setting "Entry required" while editing the
table. You can't set this by setting "Input required" in the properties of the
list box. The setting of "Input required" is completely ignored while creating
the list.

See the attached image and the attached database.
Open the form of the database.
List boxes for "Transfer from" and "Transfer to" are both set to "Input
required" > 'Yes'. For "Transfer from" the field is set in the table to "Entry
required".
First List box doesn't offer NULL, second list box does.

Expected behaviour: Both list boxes shouldn't offer NULL, because input is set
to "required".</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>