Add date input tests to TagHelperModelBindingTests#441
Merged
gunndabad merged 3 commits intomodelbindingtestsfrom Feb 1, 2026
Merged
Add date input tests to TagHelperModelBindingTests#441gunndabad merged 3 commits intomodelbindingtestsfrom
gunndabad merged 3 commits intomodelbindingtestsfrom
Conversation
Co-authored-by: gunndabad <2041280+gunndabad@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add tag helper model binding integration tests for password and date input
Add date input tests to TagHelperModelBindingTests
Feb 1, 2026
gunndabad
added a commit
that referenced
this pull request
Feb 7, 2026
* Add tag helper model binding integration tests for text input * Add password input tests to TagHelperModelBindingTests (#440) * Initial plan * Add password input tests to TagHelperModelBindingTests Co-authored-by: gunndabad <2041280+gunndabad@users.noreply.github.com> * Remove PauseAsync debug statement Co-authored-by: gunndabad <2041280+gunndabad@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: gunndabad <2041280+gunndabad@users.noreply.github.com> * Add date input tests to TagHelperModelBindingTests (#441) * Initial plan * Add date input tests to TagHelperModelBindingTests Co-authored-by: gunndabad <2041280+gunndabad@users.noreply.github.com> * Add separate test for overriden item names and IDs --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: gunndabad <2041280+gunndabad@users.noreply.github.com> Co-authored-by: James Gunn <james@gunn.io> * Add textarea model binding integration tests (#442) * Initial plan * Add textarea tests to TagHelperModelBindingTests Co-authored-by: gunndabad <2041280+gunndabad@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: gunndabad <2041280+gunndabad@users.noreply.github.com> * Add character count model binding integration tests (#443) * Initial plan * Add character count model binding integration tests Co-authored-by: gunndabad <2041280+gunndabad@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: gunndabad <2041280+gunndabad@users.noreply.github.com> * Add file upload model binding integration tests (#444) * Initial plan * Add file upload model binding integration tests Co-authored-by: gunndabad <2041280+gunndabad@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: gunndabad <2041280+gunndabad@users.noreply.github.com> * Add select tag helper model binding integration tests (#445) * Initial plan * Add select model binding integration tests Co-authored-by: gunndabad <2041280+gunndabad@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: gunndabad <2041280+gunndabad@users.noreply.github.com> * Add checkbox model binding integration tests (#446) * Initial plan * Add checkbox model binding integration test Co-authored-by: gunndabad <2041280+gunndabad@users.noreply.github.com> * Add test for overridden attributes --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: gunndabad <2041280+gunndabad@users.noreply.github.com> Co-authored-by: James Gunn <james@gunn.io> * Add radios model binding integration tests (#447) * Initial plan * Add radios model binding integration tests Co-authored-by: gunndabad <2041280+gunndabad@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: gunndabad <2041280+gunndabad@users.noreply.github.com> --------- Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: gunndabad <2041280+gunndabad@users.noreply.github.com>
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.
Adds integration tests for date input tag helper model binding, following the existing pattern for text input and password input tests.
Changes:
DateInput_RendersCorrectlyandDateInputOverridden_RendersCorrectlytest methodsDateInputTestsModelwithDateOnly?property and Display attributesPauseAsync()call fromTextInputOverridden_RendersCorrectlyKey difference from text/password inputs:
Date input IDs use dot notation when overriding the
idattribute:💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.