GEM: ReferencePropertyEditorが表示タイプ「UNIQUE」かつ多重度=1の場合、削除ボタンが動作しない修正#1950
Merged
xkazama-yukio3 merged 3 commits intomasterfrom Feb 19, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
本PRは、GEM の ReferencePropertyEditor において「表示タイプ=UNIQUE」かつ「多重度=1」の場合に削除ボタンが動作しない問題(#1873)を、入力エリア自体は残しつつ保持値をクリアする挙動に変更して解消するものです。
Changes:
- 多重度=1のUNIQUE表示時、削除ボタン押下で参照値(テキスト/リンク/hidden)をクリアするJS関数を追加
- 従来onclickが無かった削除ボタンに、クリア処理の呼び出しを追加
...sources/META-INF/resources/jsp/gem/generic/editor/reference/ReferencePropertyEditor_Edit.jsp
Show resolved
Hide resolved
...sources/META-INF/resources/jsp/gem/generic/editor/reference/ReferencePropertyEditor_Edit.jsp
Outdated
Show resolved
Hide resolved
...sources/META-INF/resources/jsp/gem/generic/editor/reference/ReferencePropertyEditor_Edit.jsp
Outdated
Show resolved
Hide resolved
...sources/META-INF/resources/jsp/gem/generic/editor/reference/ReferencePropertyEditor_Edit.jsp
Show resolved
Hide resolved
...sources/META-INF/resources/jsp/gem/generic/editor/reference/ReferencePropertyEditor_Edit.jsp
Show resolved
Hide resolved
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
対応内容
多重度1の場合は、入力エリアを削除せず保持している値をクリアする。
fixes #1873
レビュー観点・補足情報