It seems that constraint checks after adding a new statement only work when the “add value” feature was used to add another value to a statement that already existed when the page was loaded, but not on other new statements. The wbcheckconstraints API request is sent and receives a response, but nothing shows up on the page.
Probably some difference in the server-side- and client-side-generated HTML, I suspect.