[PR #805] Replacing the boolean autocomplete parameters with strings. #2330

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

Original Pull Request: https://github.com/radzenhq/radzen-blazor/pull/805

State: closed
Merged: No


This pull request replaced the boolean AutoComplete parameter with a string AutoComplete parameter. This allows developers to use the auto-complete options supported by web browsers. See the available options on MDN and the spec.

This PR also adds a new static class that acts as an enum with each option linked to the appropriate attribute string value. It serves as a shortcut to avoid typos.

Also, the tests are updated to use the new string parameter while maintaining the same functionality.

**Original Pull Request:** https://github.com/radzenhq/radzen-blazor/pull/805 **State:** closed **Merged:** No --- This pull request replaced the boolean **AutoComplete** parameter with a string **AutoComplete** parameter. This allows developers to use the auto-complete options supported by web browsers. See the available options on [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) and the [spec](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill). This PR also adds a new `static class` that acts as an `enum` with each option linked to the appropriate attribute string value. It serves as a shortcut to avoid typos. Also, the tests are updated to use the new string parameter while maintaining the same functionality.
claunia added the pull-request label 2026-01-29 18:18:18 +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#2330