-
Notifications
You must be signed in to change notification settings - Fork 30
Add validations into DSN editor form #59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a comment about null or empty keyname.
Would Control.Validating
events help to validate input near the point of entry?
|
||
private bool ValidateKeyName(string keyname) | ||
{ | ||
if (string.IsNullOrEmpty(keyname)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems this condition can never be met?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True, will remove.
Remove null or whitespace check from Name.
@russcam - yes, we can look at introducing validation error controls at a later date when the complexity warrants it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change LGTM.
Backported changes to |
Needs backporting to
6.x
on approval.