[PR #827] [MERGED] Adding an autocomplete type parameter. #2338

Open
opened 2026-01-29 18:18:21 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/827
Author: @DaveBagler
Created: 2/21/2023
Status: Merged
Merged: 2/23/2023
Merged by: @akorchev

Base: masterHead: feature/autocomplete-type


📝 Commits (3)

  • 3d7c487 Adding an autocomplete type parameter.
  • 0755fbe Converting the static class to an enum with an extension method.
  • 258f0f9 undoing some file changes that shouldn't have been included in the last commit

📊 Changes

17 files changed (+422 additions, -6 deletions)

View changed files

Radzen.Blazor.Tests/AutoCompleteTests.cs (+74 -0)
📝 Radzen.Blazor.Tests/MaskTests.cs (+28 -0)
📝 Radzen.Blazor.Tests/NumericTests.cs (+28 -0)
📝 Radzen.Blazor.Tests/PasswordTests.cs (+28 -0)
📝 Radzen.Blazor.Tests/TextBoxTests.cs (+28 -0)
Radzen.Blazor/AutoCompleteType.cs (+81 -0)
📝 Radzen.Blazor/Extensions.cs (+34 -0)
📝 Radzen.Blazor/RadzenLogin.razor (+2 -2)
📝 Radzen.Blazor/RadzenLogin.razor.cs (+22 -0)
📝 Radzen.Blazor/RadzenMask.razor (+1 -1)
📝 Radzen.Blazor/RadzenMask.razor.cs (+24 -0)
📝 Radzen.Blazor/RadzenNumeric.razor (+1 -1)
📝 Radzen.Blazor/RadzenNumeric.razor.cs (+24 -0)
📝 Radzen.Blazor/RadzenPassword.razor (+1 -1)
📝 Radzen.Blazor/RadzenPassword.razor.cs (+23 -0)
📝 Radzen.Blazor/RadzenTextBox.razor (+1 -1)
📝 Radzen.Blazor/RadzenTextBox.razor.cs (+22 -0)

📄 Description

This PR adds a new AutoCompleteType parameter to the RadzenMask, RadzenNumeric, RadzenPassword, RadzenTextBox, and RadzenLogin components. It allows developers to tell the browser what type of built-in autocomplete to use. It doesn't impact the existing functionality of the AutoComplete.

It also adds a static class that serves as a string-associated enum with each of the commonly supported browser autocomplete types, and a new unit test for each of the four form field components.

See more of the conversation here: https://github.com/radzenhq/radzen-blazor/pull/805


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/radzenhq/radzen-blazor/pull/827 **Author:** [@DaveBagler](https://github.com/DaveBagler) **Created:** 2/21/2023 **Status:** ✅ Merged **Merged:** 2/23/2023 **Merged by:** [@akorchev](https://github.com/akorchev) **Base:** `master` ← **Head:** `feature/autocomplete-type` --- ### 📝 Commits (3) - [`3d7c487`](https://github.com/radzenhq/radzen-blazor/commit/3d7c487141eced57b048918daa13940eb6cf537f) Adding an autocomplete type parameter. - [`0755fbe`](https://github.com/radzenhq/radzen-blazor/commit/0755fbeb149c275fda9377d01df42d2cf38e6f9c) Converting the static class to an enum with an extension method. - [`258f0f9`](https://github.com/radzenhq/radzen-blazor/commit/258f0f96061f002cd7089e997f1144485716cf31) undoing some file changes that shouldn't have been included in the last commit ### 📊 Changes **17 files changed** (+422 additions, -6 deletions) <details> <summary>View changed files</summary> ➕ `Radzen.Blazor.Tests/AutoCompleteTests.cs` (+74 -0) 📝 `Radzen.Blazor.Tests/MaskTests.cs` (+28 -0) 📝 `Radzen.Blazor.Tests/NumericTests.cs` (+28 -0) 📝 `Radzen.Blazor.Tests/PasswordTests.cs` (+28 -0) 📝 `Radzen.Blazor.Tests/TextBoxTests.cs` (+28 -0) ➕ `Radzen.Blazor/AutoCompleteType.cs` (+81 -0) 📝 `Radzen.Blazor/Extensions.cs` (+34 -0) 📝 `Radzen.Blazor/RadzenLogin.razor` (+2 -2) 📝 `Radzen.Blazor/RadzenLogin.razor.cs` (+22 -0) 📝 `Radzen.Blazor/RadzenMask.razor` (+1 -1) 📝 `Radzen.Blazor/RadzenMask.razor.cs` (+24 -0) 📝 `Radzen.Blazor/RadzenNumeric.razor` (+1 -1) 📝 `Radzen.Blazor/RadzenNumeric.razor.cs` (+24 -0) 📝 `Radzen.Blazor/RadzenPassword.razor` (+1 -1) 📝 `Radzen.Blazor/RadzenPassword.razor.cs` (+23 -0) 📝 `Radzen.Blazor/RadzenTextBox.razor` (+1 -1) 📝 `Radzen.Blazor/RadzenTextBox.razor.cs` (+22 -0) </details> ### 📄 Description This PR adds a new `AutoCompleteType` parameter to the `RadzenMask`, `RadzenNumeric`, `RadzenPassword`, `RadzenTextBox`, and `RadzenLogin` components. It allows developers to tell the browser what type of built-in autocomplete to use. It doesn't impact the existing functionality of the `AutoComplete`. It also adds a static class that serves as a string-associated enum with each of the commonly supported browser autocomplete types, and a new unit test for each of the four form field components. See more of the conversation here: https://github.com/radzenhq/radzen-blazor/pull/805 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 18:18:21 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2338