Skip to content

Commit

Permalink
this is the way to do it
Browse files Browse the repository at this point in the history
  • Loading branch information
moritztim committed Nov 16, 2023
1 parent 5ff33e2 commit f0e1113
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions addons/form/nodes/Validators/StringValidator.gd
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ func validate(
## Text to validate
subject
) -> bool:
if !(subject is String):
return
subject = subject as String
super.validate(subject)
var _regex := RegEx.new()

Expand Down

0 comments on commit f0e1113

Please # to comment.