mojira.dev
MC-313282

Text inputs in dialogs retain the email warning even after clearing the email address

In 26.4 snapshot 9, a warning was added when entering an email address into a dialog text input field. However, once triggered, the red text color and warning tooltip are never cleared if the user deletes the email address or changes the text to something else.


Steps to reproduce:

  • Open a dialog with a text input: /dialog show @s {type:"minecraft:notice",title:"Test",inputs:[{type:"minecraft:text",key:"t",label:"Input"}]}

  • Type an email address. Observe that the text turns red and hovering over the box shows the personal information warning tooltip.

  • Delete the text completely and type normal text


Observed Result:
The text remains red and the warning tooltip remains attached to the input box.

Expected Result:
The text color and tooltip reset to their default state once the input no longer matches an email address.

Comments 0

No comments.

BugTracker - BugTX

(Unassigned)

Confirmed

Platform HC

Low

26.4 Snapshot 10

Retrieved