Field renderer heads up with Millau 11.0.2

  • 1
  • Problem
  • Updated 3 months ago
  • Not a Problem
After upgrading to Millau 11.0.2 we ran into some problems with custom field renderers.  The issue has to do with an important (documented) change in the release, but the release notes are a bit cryptic.  Basically with this version, when using a custom field renderer any empty fields will now return null rather than undefined.  This caused an issue for us as our custom field renderers have condition logic to handle empty fields based on undefined.  This impacts the second argument passed into a custom field renderer snippet.  Not difficult to fix and better behavior, but it's an impacting change and I thought it would be good to pass along the learning.  

Here's the item in the release notes.
  • [CORE-935] - getFieldValue(s) API methods should return "null" instead of "undefined" (pre Q2 behavior)
Photo of John Dahlberg

John Dahlberg, Champion

  • 1,880 Points 1k badge 2x thumb

Posted 3 months ago

  • 1
Photo of Bill McCullough

Bill McCullough, Champion

  • 10,122 Points 10k badge 2x thumb

Thanks for the heads up on this.