Length and Read-Only not enforced when overriding field metadata

When ‘length’ and ‘read-only’ are overridden in field metadata, neither is enforced in the UI.


  1. This occurs whether model is marked to process client side or not.
  2. Read-Only previous identified here https://community.skuid.com/t/override-field-metadata-read-only-not-working. Mentioning it here as well to “bump” the issue and also since it’s likely related to the length not being enforced as well.

Steps to reproduce:

  1. Create page using xml below
  2. Preview page

Expected Behavior
Billing City is read-only

Actual Behavior
Billing city is editable

  1. Type something longer than 5 characters in to Account Name

Expected Behavior
Input stops at 5 characters

Actual Behvior
INput does not stop

  1. Click Save

Expected Behavior
Error message displayed indicating data is invalid because length > 5

Actual Behavior
Records saves successfully, no data truncation, no enforcement of 5 character limit

Sample Page XML

<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" showheader="true" tabtooverride="Account">   <models>
      <model id="Account" limit="" query="true" createrowifnonefound="false" sobject="Account" adapter="" type="" doclone="" processonclient="true">
            <field id="Name" overridemetadata="true" ogdisplaytype="STRING" displaytype="TEXT" length="5" label="" helptext="" readonly="true"/>
            <field id="CreatedDate"/>
            <field id="BillingCity" overridemetadata="true" ogdisplaytype="STRING" displaytype="TEXT" readonly="true"/>
            <condition type="param" value="id" field="Id" operator="=" enclosevalueinquotes="true" novaluebehavior=""/>
      <pagetitle model="Account" uniqueid="sk-3IeBVh-70">
            <action type="savecancel" window="self"/>
      <basicfieldeditor showsavecancel="false" showheader="true" model="Account" mode="edit" uniqueid="sk-3IeBVh-71" buttonposition="">
            <column width="100%">
                  <section title="Basics" collapsible="no">
                        <field id="Name" valuehalign="" type=""/>
                        <field id="BillingCity"/>
      <styleitem type="background" bgtype="none"/>


We have been able to reproduce the problem you are experiencing and have notified the developers of this issue. Thanks for alerting us of this bug and helping make Skuid better!


Thank you!


The read-only part of this has been addressed in Rockaway. No news at this point on enforcing the length, but we’ll keep you posted. Thanks!

Thanks for the update J.  While length would be nice (across the board, not just on overridden metadata), read-only part is the critical piece!

Any update on the field length?