1. Switch control and CodeMirror control UI improvements for read-only and disabled states.

2. If a form input value changes to null, pass it as an empty string in URL params.
3. Use server_type instead of type from the server info.
This commit is contained in:
Aditya Toshniwal
2021-09-28 10:24:25 +05:30
committed by Akshay Joshi
parent 48a5143485
commit dc8ab7cd2a
7 changed files with 75 additions and 11 deletions

View File

@@ -130,6 +130,10 @@ function getChangedData(topSchema, viewHelperProps, sessData, stringify=false) {
if(stringify && (_.isArray(change) || _.isObject(change))) {
change = JSON.stringify(change);
}
/* Null values are not passed in URL params, pass it as an empty string */
if(_.isNull(change)) {
change = '';
}
return levelChanges[id] = change;
}
};