Skip to content

GEM: ReferencePropertyEditorが表示タイプ「UNIQUE」かつ多重度=1の場合、削除ボタンが動作しない修正#1950

Merged
xkazama-yukio3 merged 3 commits intomasterfrom
feature/1873-gem-single-reference-unique-delete
Feb 19, 2026
Merged

GEM: ReferencePropertyEditorが表示タイプ「UNIQUE」かつ多重度=1の場合、削除ボタンが動作しない修正#1950
xkazama-yukio3 merged 3 commits intomasterfrom
feature/1873-gem-single-reference-unique-delete

Conversation

@xkazama-yukio3
Copy link
Contributor

対応内容

多重度1の場合は、入力エリアを削除せず保持している値をクリアする。

fixes #1873

レビュー観点・補足情報

  • クリアした場合に、クリア前の入力データが登録されないことを確認する

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

本PRは、GEM の ReferencePropertyEditor において「表示タイプ=UNIQUE」かつ「多重度=1」の場合に削除ボタンが動作しない問題(#1873)を、入力エリア自体は残しつつ保持値をクリアする挙動に変更して解消するものです。

Changes:

  • 多重度=1のUNIQUE表示時、削除ボタン押下で参照値(テキスト/リンク/hidden)をクリアするJS関数を追加
  • 従来onclickが無かった削除ボタンに、クリア処理の呼び出しを追加

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

@xkazama-yukio3 xkazama-yukio3 merged commit ec76385 into master Feb 19, 2026
9 checks passed
@xkazama-yukio3 xkazama-yukio3 deleted the feature/1873-gem-single-reference-unique-delete branch February 19, 2026 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GEM: ReferencePropertyEditorが表示タイプ「UNIQUE」かつ多重度=1の場合、削除ボタンが動作しない

2 participants