diff --git a/objects/textinput.lua b/objects/textinput.lua index 243f641..f1dfa42 100644 --- a/objects/textinput.lua +++ b/objects/textinput.lua @@ -746,6 +746,9 @@ function newobject:RunKey(key, istext) self:MoveIndicator(#self.tabreplacement) end else + if not editable then + return + end -- do not continue if the text limit has been reached or exceeded if #text >= self.limit and self.limit ~= 0 and not alltextselected then return @@ -1999,4 +2002,4 @@ function newobject:GetPlaceholderText() return self.placeholder -end \ No newline at end of file +end