Closed andrewandante closed 1 year ago
Also FYI this has prompted me to make this issue for CMS 6
Also FYI this has prompted me to make this issue for CMS 6
Hah yes that was definitely coming, I was reluctant to turn this into an API-breaking change but I think that would definitely be the best long-term approach.
Think I've managed to get my conditions in the right order now 😅
This will be included in the Silverstripe CMS 5.2.0 release.
Fixes #10270
Adds a new method:
FormMessage::appendMessage()
which attempts to stack messages if it can, falling back to the current behaviour of setting the message if there's a mismatch.