Skip to content

Add NotEmpty validator for string fields#457

Open
hippwn wants to merge 1 commit intolxn:masterfrom
hippwn:master
Open

Add NotEmpty validator for string fields#457
hippwn wants to merge 1 commit intolxn:masterfrom
hippwn:master

Conversation

@hippwn
Copy link
Copy Markdown

@hippwn hippwn commented Feb 18, 2019

Adding a new Validator based on SelRequired{}. This basically allows you to require that a string field (such as LineEdit) in the form contain a non-empty value. The string in considered non-empty as long as its length is greater than 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant