Skip to content

[BUG]Custom control with email validator doesn't change border #1874

@eduardoagr

Description

@eduardoagr

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

I have a custom control, that shows the textbox with a border and an hint

Expected Behavior

I want to change the border color, when the email is not valid, and change the border color to green

Steps To Reproduce

  1. Open the Solution
  2. input a bad email address (It doesn't change color)

Link to public reproduction project repository

https://github.com/eduardoagr/CustomEntry

Environment

- .NET MAUI CommunityToolkit:
- OS: Edition	Windows 11 Education Version 23H2
- .NET MAUI: 8.0.21

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions