Open hasan03450 opened 2 weeks ago
Hello, I see that you are trying to set the media preview for each document to media: 'tabs.0.button.text'
. Is this intentional, as it is trying to access the text string as the media value which is causing your issue
Dear Sanity member,
I am encountering a technical issue when using the buttonComponent in a custom schema (Faq.ts). An error occurs while typing text in the button text field. Below are the buttonComponent, faq and the error provided:
The Faq.ts Schema:
The buttonComponent.ts:
Error in Sanity:
Does anyone has had this issue before?
Any help will be greatly appreciated!