HP Improvements
- Add scroll bar into the tab content in protocolEditor - Prevent "Wt." and "Req." fields to go out of screen when constraint value is long - Add "starts with" and "ends with" comparators - Fix the issue with empty input value in ruleEntryDialog
This commit is contained in:
1 parent
646b4df8c9
commit
015e62ebd0
5 files changed
+40
No files matched your search
@@ -24,4 +24,16 @@ v.validators.doesNotContain = function(value, options, key) {
|
||||
}
|
||||
};
|
||||
|
||||
v.validators.startsWith = function(value, options, key) {
|
||||
if (options && value.startsWith && !value.startsWith(options.value)) {
|
||||
return key + 'must start with ' + options.value;
|
||||
}
|
||||
};
|
||||
|
||||
v.validators.endsWith = function(value, options, key) {
|
||||
if (options && value.endsWith && !value.endsWith(options.value)) {
|
||||
return key + 'must end with ' + options.value;
|
||||
}
|
||||
};
|
||||
|
||||
validate = v;
|
||||
Reference in new issue
Block a user