Inline field errors displaying at top of page (Banzai)

  • 2
  • Problem
  • Updated 2 years ago
  • Acknowledged
When marking fields in a Field Editor to "Show Errors inline," error messages are displaying twice at the top of the page instead of inline. 

Marking "Show inline Error Only on Hover" results in the same behavior.

Question: For expected behavior, should there be a banner message at top as well as one inline or just the inline message?

Steps to Repro:
1) Create new detail page for account
2) Toggle "Show Errors inline" on field editor to true/enabled
3) Preview page selecting existing account
4) Remove value from "Name" field
5) Click Save

Actual Result
Error message displays twice at top

Expected Result
Error message should display on field and possibly a banner error message at top as well (not sure if there should be any message at top or not).

Screenshot:


Sample Page
<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" showheader="true" tabtooverride="Account">   <models>
      <model id="Account" limit="1" query="true" createrowifnonefound="false" sobject="Account">
         <fields>
            <field id="Name"/>
            <field id="CreatedDate"/>
         </fields>
         <conditions>
            <condition type="param" enclosevalueinquotes="true" operator="=" field="Id" value="id"/>
         </conditions>
         <actions/>
      </model>
   </models>
   <components>
      <pagetitle model="Account" uniqueid="sk-2MtCOL-67">
         <maintitle>
            <template>{{Name}}</template>
         </maintitle>
         <subtitle>
            <template>{{Model.label}}</template>
         </subtitle>
         <actions>
            <action type="delete"/>
            <action type="clone"/>
            <action type="share"/>
            <action type="savecancel" window="self"/>
         </actions>
      </pagetitle>
      <basicfieldeditor showsavecancel="false" showheader="true" model="Account" mode="read" uniqueid="sk-2MtCOL-68" buttonposition="" layout="" showerrorsinline="true" showerroronhover="false">
         <columns>
            <column width="50%">
               <sections>
                  <section title="Basics">
                     <fields>
                        <field id="Name"/>
                     </fields>
                  </section>
               </sections>
            </column>
            <column width="50%">
               <sections>
                  <section title="System Info">
                     <fields>
                        <field id="CreatedDate"/>
                     </fields>
                  </section>
               </sections>
            </column>
         </columns>
      </basicfieldeditor>
   </components>
   <resources>
      <labels/>
      <css/>
      <javascript/>
   </resources>
   <styles>
      <styleitem type="background" bgtype="none"/>
   </styles>
</skuidpage>

Thanks!
Photo of Barry Schnell

Barry Schnell, Champion

  • 18,076 Points 10k badge 2x thumb

Posted 3 years ago

  • 2
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Thanks Barry.  Thats a regression for sure (from earlier Banzai releases where we tested that funtion really well..)  

It will be fixed. 
Photo of Barry Schnell

Barry Schnell, Champion

  • 18,076 Points 10k badge 2x thumb
Great, thanks Rob.

Curious what the expected result should be here.  When "Show inline" is enabled, will the errors only display at the field level or will there be a banner at top indicating there are errors in addition to the field level error info?
Photo of Barry Schnell

Barry Schnell, Champion

  • 18,076 Points 10k badge 2x thumb
Hey Rob - I noticed the inline field errors are now displaying inline with 7.7.  Unfortunately, found a few other issues so started a new post at https://community.skuidify.com/skuid/topics/inline-field-error-display-issues-banzai-7-7?rfm=1&t....
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Thanks Barry.  We are not done yet with Inline errors.  We'll take your report into account. 
Photo of Barry Schnell

Barry Schnell, Champion

  • 18,076 Points 10k badge 2x thumb
Thanks Rob!
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Any updates on this?

Is the expected behavior for tables with "show errors inline" a banner at the top in addition to the inline error, or just the inline error?