Retool v2.80 release notes

{{ self }}

Components can now reference themselves in the inspector using the {{ self }} keyword! Access any component properties using {{ self }}, like the component’s value/values, label/labels, settings like disabled, hidden, readOnly, and validation properties such as maxCount.

For example, in a component like Select or Multiselect, you can set the labels to dynamically update to the capitalized values with {{ self.values.map(_.startCase) }} –this will actually be the new default going forward! It also makes dynamic styling much more powerful– for example, you can style the Statistic component’s trend green when {{ self.secondaryValue > 0 }} and red otherwise to indicate upward or downward trends.

{{ self }} is available for all components, and works in their event handlers, too! We’ve updated a bunch of our components to use {{ self }} for better defaults–but we’re excited to see what you configure with it. Drop us a note in the community forum with any examples, feature requests, or feedback! This feature is available to all cloud customers, and will be included in the next on-premise release.

Fixes and improvements

  • Added the ability to enable/disable release management across an organization from Advanced Settings
  • Fixed form generation to set labels correctly for checkboxes
  • Fixed unexpected layout shifts in some apps while dragging/resizing
  • Fixed Google Datastore ordering options
  • Fixed the layout for Image components in Firefox
  • Added support for upgrading caret type Toggle components to the new Toggle Link component
  • Fixed unexpected layout shifts in apps with tall dynamic height Text components
  • Fixed SQL schema column types to display as timestamp or timestamptz instead of timezone
  • Added an option to configure text size on the Divider component
  • Added support for an optional label on the File Dropzone component
  • Improved performance when querying the audit log
  • Added support for a focus state for the Editable Text and Editable Number components
  • Fixed query loading indicators in presentation mode
  • Added a transition to the Date and Date Time calendar
  • Fixed the bounding box for Container components with children
  • Fixed the context menu so it closes when you click outside of it
  • Fixed analytics instrumentation triggers for modules

Changelog

Release 2.80.16

Published on November 23rd, 2021

Release 2.80.17

Published on December 3rd, 2021

Fixes CSRF token validation issue.


Did this page help you?