You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've recently migrated from Image v2 to Image v3 and the dialog has been a little strange to get right.
In v2, we inherited from the dialog without much problem, but now the Alt Text field is giving us problems and offering the ability to leave it blank has been hard to implement. Even when we overlay the node in our dialog and set required to false, the asterisk does indeed disappear but the dialog still refuses to close without a value in the field and we get an error on it.
I noticed an entry in the Readme file that says
You component's dialog should overwrite the dialog fully from the image component via `sling:hideResource="true"` on the node `cq:dialog/content/items/image`
Is that supposed to be cq:dialog/content/items/tabs? (there's no image node in there) So does that mean we're not supposed to reuse the dialog at all? That's strange because I feel like I'd just remake a lot of the same fields so I'm having a hard time understanding this strategy...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We've recently migrated from Image
v2
to Imagev3
and the dialog has been a little strange to get right.In
v2
, we inherited from the dialog without much problem, but now theAlt Text
field is giving us problems and offering the ability to leave it blank has been hard to implement. Even when we overlay the node in our dialog and setrequired
tofalse
, the asterisk does indeed disappear but the dialog still refuses to close without a value in the field and we get an error on it.I noticed an entry in the Readme file that says
Is that supposed to be
cq:dialog/content/items/tabs
? (there's noimage
node in there) So does that mean we're not supposed to reuse the dialog at all? That's strange because I feel like I'd just remake a lot of the same fields so I'm having a hard time understanding this strategy...Can someone confirm all that for me?
Beta Was this translation helpful? Give feedback.
All reactions