Skip to content

fix #4339 【システム】機能要望:BcAdminFormHelper で type='time' に対応#4418

Open
kaburk wants to merge 1 commit into
baserproject:5.2.xfrom
kaburk:5.2.x-#4339
Open

fix #4339 【システム】機能要望:BcAdminFormHelper で type='time' に対応#4418
kaburk wants to merge 1 commit into
baserproject:5.2.xfrom
kaburk:5.2.x-#4339

Conversation

@kaburk

@kaburk kaburk commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

よろしくお願いします。

Copilot AI review requested due to automatic review settings June 8, 2026 23:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

本PRは、管理画面用フォームヘルパー BcAdminFormHelper::control() において type='time' を指定した際に、他のテキスト系入力と同様のスタイル(bca-textbox 系)で描画できるようにする対応です。既存の switch 分岐に time を追加し、期待する出力になることをユニットテストで担保しています。

Changes:

  • BcAdminFormHelper::control() のテキスト系入力の分岐に time を追加
  • type='time' 指定時の出力が期待通りになることをテストケースに追加

Reviewed changes

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

File Description
plugins/baser-core/src/View/Helper/BcAdminFormHelper.php control() の type 判定に time を追加し、テキストボックス系のCSS/テンプレート変数が適用されるように変更
plugins/baser-core/tests/TestCase/View/Helper/BcAdminFormHelperTest.php type='time'control() がオプション展開後の期待値と一致することを確認するテストを追加

@ryuring ryuring self-requested a review June 9, 2026 02:29
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.

2 participants