최근 검색
최근 검색 없음

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
댓글
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
댓글