Skip to content

Commit

Permalink
issue #870 - allow umlauts
Browse files Browse the repository at this point in the history
  • Loading branch information
boonto committed Aug 20, 2020
1 parent c5a5fd7 commit 1810d9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ define([ 'exports', 'util', 'log', 'message', 'guiState.controller', 'guiState.m

$('#wlan-form').removeData('validator');
$.validator.addMethod("wlanRegex", function(value, element) {
return this.optional(element) || /^[a-zA-Z0-9$ *\(\)\{\}\[\]><~`\'\\\/|=+!?.,%#+&^@_\-]+$/gi.test(value);
return this.optional(element) || /^[a-zA-Z0-9$ *\(\)\{\}\[\]><~`\'\\\/|=+!?.,%#+&^@_\-äöüÄÖÜß]+$/gi.test(value);
}, "This field contains nonvalid symbols.");
$('#wlan-form').validate({
rules : {
Expand Down

0 comments on commit 1810d9a

Please sign in to comment.