<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:lionel@mamane.lu" title="Lionel Elie Mamane <lionel@mamane.lu>"> <span class="fn">Lionel Elie Mamane</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - forms controls are created with "input required" set to yes by default"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=121188">bug 121188</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Keywords</td>
           <td>bibisectRequest
           </td>
           <td>
                
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - forms controls are created with "input required" set to yes by default"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=121188#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - forms controls are created with "input required" set to yes by default"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=121188">bug 121188</a>
              from <span class="vcard"><a class="email" href="mailto:lionel@mamane.lu" title="Lionel Elie Mamane <lionel@mamane.lu>"> <span class="fn">Lionel Elie Mamane</span></a>
</span></b>
        <pre>This looks like a very old bug that is exposed by the fix to <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - UI: No Error-Dialog appears, when Input is set to required in a Field of a Form, but not set in the Table"
   href="show_bug.cgi?id=75341">bug 75341</a>.

Before that, the form control's "input required" was actually ignored as soon
as the column allowed NULLs. Now it is not ignored anymore.

The bug is that form controls are always created with "input required" set to
true by default. It should be:
 * quick fix: always false by default
 * better fix: true if the column is "NOT NULL"
   (i.e. rColInfo.nNullable == ColumnValue::NO_NULLS )
   else false
 * even better fix: true if the column is "NOT NULL" _and_
   does NOT have a default value, else false</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>