✨Discover storytelling in the AI age with Pixar's Matthew Luhn at Sanity Connect, May 8th—register now

sanity-plugin-computed-field

By Sean H

A field based on other fields; memoization in your Sanity model. Field value is recomputed with the click of a button, using a GROQ query referencing the current document being edited, and a reducing function to produce the single value from the GROQ result.

Warning

This plugin only works with an older version of Sanity Studio (v2), which is deprecated.

Learn how to migrate to the new Studio v3 →

v2 install command (deprecated)

sanity install computed-field

Contributor

Other plugins by author