Which plugin is affected?
@sanity/assist
Describe the bug
In the docs is stated:
AI Assist will ignore any field that is hidden or in read-only mode when the instruction starts running. Changes to these conditions that occur while the instruction is running will not alter this behavior.
However, when I run the Translate fields action, fields that are marked readOnly: true are overwritten by the assist.
Even worse, it will sometimes put invalid values in them, locking the client from being able to publish the document.
This is a type: 'internationalizedArrayString' field by the way.
Environment
- Sanity Studio version: 5.27.0
- Plugin version: 6.0.7
- Browser: Chrome
- Operating system: macOS
Which plugin is affected?
@sanity/assistDescribe the bug
In the docs is stated:
However, when I run the
Translate fieldsaction, fields that are markedreadOnly: trueare overwritten by the assist.Even worse, it will sometimes put invalid values in them, locking the client from being able to publish the document.
This is a
type: 'internationalizedArrayString'field by the way.Environment