Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ゲスト購入時にご注文手続き>お客様情報編集で都道府県がエラーになる #6067

Open
dotani1111 opened this issue Nov 15, 2023 · 4 comments
Labels
bug:Low bug good-first-issue Good for newcomers/簡単に修正できそうなもの
Milestone

Comments

@dotani1111
Copy link
Contributor

dotani1111 commented Nov 15, 2023

概要(Overview)

ゲスト購入時にご注文手続き>お客様情報編集の際に、都道府県を編集しようとすると「更新に失敗しました。入力内容を確認してください。」というアラートが表示されます。

再現手順(Procedure)

  1. 以下の欄を編集します。
スクリーンショット 2023-11-15 13 59 20

2.エラーになります。
スクリーンショット 2023-11-15 14 12 28

環境(Environment)

EC-CUBE:4.2.3
PHP:7.4

@dotani1111 dotani1111 added this to the 4.2.x milestone Nov 20, 2023
@dotani1111
Copy link
Contributor Author

都道府県を入力した場合は、エラーになりません。

@Mi-Hiroki
Copy link
Contributor

@dotani1111
お客様情報編集時の都道府県項目がセレクトボックスによる選択から、テキストボックスにより自由入力ができるようになっているためのようです。
※お客様情報入力時の都道府県項目はセレクトボックスによる選択になっている。

@Mi-Hiroki
Copy link
Contributor

下記コードあたりにて、お客様情報編集時のフォーム項目を生成しているので都道府県の項目の時にセレクトボックスにする処理が必要と思います。

var name = $(this).text();
var input = $('<input id="edit' + index + '" type="text" />').val(name);
$(form[index]).empty().append(input);
});

@dotani1111
Copy link
Contributor Author

@Mi-Hiroki
詳細ありがとうございます!!
セレクトボックスの方針に同意です👍

@ji-eunsoo ji-eunsoo added the good-first-issue Good for newcomers/簡単に修正できそうなもの label Feb 19, 2024
@ji-eunsoo ji-eunsoo modified the milestones: 4.2.x, 4.3.0 Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:Low bug good-first-issue Good for newcomers/簡単に修正できそうなもの
Projects
None yet
Development

No branches or pull requests

3 participants