sshahine / JFoenix

JavaFX Material Design Library
MIT License
6.27k stars 1.05k forks source link

The error tooltip message is not updated. #1186

Open AntoninHuaut opened 3 years ago

AntoninHuaut commented 3 years ago

I have a forbidden character validation and I display in my error message, the list of detected forbidden characters.

However, only the first forbidden character is detected, the others are ignored. With several forbidden characters, if the user removes a forbidden character. The error message will always show the same message with the forbidden character when it is no longer present.

Example: Forbidden char : + <

User write: test + < The error message will be: The field contains forbidden characters: + (< will not be displayed, first bug)

User delete the + The text field will be: test < The error message will be: The field contains forbidden characters: + (< not displayed and + is no longer present, second bug)

AntoninHuaut commented 3 years ago

589 And I don't think that creating a validator for every forbidden character is very relevant...