Skip to content

Commit

Permalink
D-16638: Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Jigarsolanki committed Dec 30, 2013
1 parent 46b4e6e commit 8076e86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -14,7 +14,7 @@ myViewModel = function () {
'required': ['FieldName'], // will show the message "FieldName is required."
'length': ['FieldName', 30] // will show the message "FieldName cannot be longer than 30 characters."
});

this['name'] = ko.observable().extend({
'required': ['', 'Please enter your name.'] // will show "Please enter your name."
});
Expand All @@ -39,6 +39,7 @@ Currently the following rules are supported:
* Less Than Or Equal To Field Value `lessThanOrEqualToFieldValue`
* Invalid Charachters `invalidChars`
* Length `length`
* Min Length `minLength`
* Range `range`
* Required `required`
* Required Only If `onlyIf`
Expand Down

0 comments on commit 8076e86

Please sign in to comment.