ricokahler / sanity-super-pane

The Sanity Desk Tool Pane with Super Powers
sanity-super-pane.vercel.app
MIT License
100 stars 12 forks source link

Boolean fields should display a value if listed in the pane #67

Open bacalj opened 2 years ago

bacalj commented 2 years ago

Hi - Boolean values do not show a value that makes sense if selected for the pane. If the field is set to "true", it shows as "Untitled", otherwise it shows as blank.

I made a pull request with a basic fix: https://github.com/ricokahler/sanity-super-pane/pull/66. This shows "true", "false", or stays blank if the field has no value. The above works for my use-cases, but another idea could be to have it use the field title?

Thanks for the awesome plugin!