最近搜索
没有最近搜索

Jan Slansky
已加入2024年9月18日
·
最后活动2025年2月03日
关注
0
关注者
0
活动总数
13
投票
3
订阅
3
活动概览
标记
文章
帖子
社区评论
文章评论
活动概览
的最新活动 Jan Slansky
Jan Slansky 进行了评论,
Please check this post related to the same issue but on latest version of templates. https://support.zendesk.com/hc/en-us/community/posts/8042302464410-Copenhagen-v4-modifications-and-JS-updates-of-request-forms#community_comment_8425690267162
查看评论 · 已于 2024年11月28日 发布 · Jan Slansky
0
关注者
1
投票
0
评论
Jan Slansky 进行了评论,
Anybody successfully modified this for Copenhagen v4?
查看评论 · 已于 2024年10月23日 发布 · Jan Slansky
0
关注者
0
投票
0
评论
Jan Slansky 创建了一个帖子,
I can't change user role from “end-user” to “agent” using user API Users | Zendesk Developer Docs. Is it even possible?
已于 2024年10月05日 发布 · Jan Slansky
0
关注者
3
投票
1
Comment
Jan Slansky 创建了一个帖子,
I'm trying to hide and prepopulate Subject and Description of custom request form. My template is Copenhagen v4. Suggestions found on Zendesk support site don't work. My understanding is that v4 is based on React framework and so input fields do not have hardcoded CSS and are hardly to be addressed by jQuery. I managed to create a workaround by JS function searching for DIV enclosure of specific input field by label of this field. Unfortunately, it doesn't work when JS is put into script.js (not recommended anyways), or anywhere else, like assets, header template, etc. My suspicion is that JS can't access specific DOM object because it doesn't exist at the moment of running this script. Script is running probably before React is done with rendering.
So, my question is, did anybody faced the same issue (v4 is fairly new) or is able to suggest how to wait for renderer to finish and run JS afterwards? E.g., how to use React hooks (useEffect, useRef) in Copenhagen v4 theme?
已于 2024年9月18日 编辑 · Jan Slansky
1
关注者
8
投票
6
评论