- Issue created by @JatinGupta40
- ๐ฎ๐ณIndia meghasharma
I was able to reproduce this issue.
When editing an Article content's Experience Builder Page Data panel:- If the image is not changed, the Alternative Text field works as expected and is editable.
- But when I remove the existing image and upload a new one, the Alternative Text field becomes non-editable โ it shows up, but I cannot enter or type anything in it. No characters appear. - ๐ฎ๐ณIndia meghasharma
Additional observation while reproducing the issue:
After making any changes to the image field via the Page Data panel โ for example:
Uploading a new image
Removing the image...the "Review X changes" button at the top still shows โNo changesโ.
Ideally, these actions should trigger the button to update and show "Review 1 change" - ๐ฎ๐ณIndia omkar-pd
This is because
Warning: You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`. Error Component Stack at input (<anonymous>) at div (<anonymous>) at @radix-ui_themes.js?v=77fa5138:1613:19 at TextField2 (TextField.tsx:12:5) at DrupalInput (DrupalInput.tsx:16:3) at InputBehaviorsWrapper (inputBehaviors.tsx:513:13)
- ๐ฎ๐ณIndia meghasharma
Verified #3, the read only issue resolved, Now if remove the existing image and uploading new one, the Alternative text field works as expected and is editable.
- ๐ฎ๐ณIndia meghasharma
#4 is still the issue
After making any changes to the image field via the Page Data panel
For example:-
Uploading a new image
Add new alternative text...the "Review X changes" button at the top still shows โNo changesโ.
Ideally, these actions should trigger the button to update and show "Review 1 change"