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

郵便番号による住所検索をセレクトボックスに変更する #328

Open
IkumaTadokoro opened this issue Apr 24, 2022 · 0 comments
Assignees
Projects

Comments

@IkumaTadokoro
Copy link
Owner

機能の説明

市区町村の入力方法を郵便番号ではなく、市区町村をインクリメンタルサーチで入力する形式にする。
(現在バックエンド側は都道府県と市区町村を元に地方公共団体コードを生成する形式になっているが、地方公共団体コードがそのまま渡せるのであれば、市区町村だけの入力でもいいと思います)。

なぜこの機能が必要なのか

【現状】
現在フォームの中にある郵便番号検索は郵便番号-住所検索APIを利用したものになっているが、郵便番号起因ではなくブラウザ起因で市区町村取得が失敗するケースがある。

【現在の仕様の背景】
市区町村情報は国民健康保険料の料率と納付対象月を決定するために必要だが、プルダウン形式だと量が多すぎて選択が大変なので、郵便番号で補完する形式を採択した。

しかしながら、インクリメンタルサーチができるフォームにすれば

  • 入力負荷は郵便番号とそこまで変わらない
  • 外部APIを叩く必要がない

ため、この形式に切り替えたい。

@IkumaTadokoro IkumaTadokoro added this to インボックス in Kanban via automation Apr 24, 2022
@IkumaTadokoro IkumaTadokoro self-assigned this Apr 24, 2022
@IkumaTadokoro IkumaTadokoro moved this from インボックス to やること in Kanban Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Kanban
やること
Development

No branches or pull requests

1 participant