Skip to content

Commit b6eb2c6

Browse files
committed
iss1757 - Fix issue with outputs and validation not clearing.
1 parent 5401a81 commit b6eb2c6

6 files changed

Lines changed: 9 additions & 12 deletions

File tree

amd/build/input.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

amd/build/input.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

amd/src/input.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,8 @@ define([
219219
* @param {Object} response The data that came back from the ajax validation call.
220220
*/
221221
function showValidationFailure(response) {
222-
lastValidatedValue = '';
222+
// ISS1757 - Change from blank to null so validation updates when answer cleared.
223+
lastValidatedValue = null;
223224
// Reponse usually contains backtrace, debuginfo, errorcode, link, message and moreinfourl.
224225
validationDiv.innerHTML = response.message;
225226
removeAllClasses();

0 commit comments

Comments
 (0)