Forum Replies Created
- 
		AuthorPosts
 - 
		
			
				
September 21, 2020 at 4:21 pm in reply to: Enabling a button after text is entered without pressing Enter #6145
mawilson
ParticipantNot sure why, but when I try that I get an error message:
[16:20:14] Uncaught SyntaxError: missing ) after argument list (PennController: 0). I’ve been messing around trying to fix it but can’t seem to figure out how.Sorry for all the trouble!
Edit: removing the semicolon after
_runPromises()lets the script run, but the function doesn’t appear to work.September 21, 2020 at 3:54 pm in reply to: Enabling a button after text is entered without pressing Enter #6142mawilson
ParticipantSorry, yeah, I just realized that it does that if you use a separate button press to delete the last character. But if you enter multiple characters and hold down backspace to delete everything, it won’t disable it until you press a key again. If there’s no good way around that edge case it shouldn’t be a problem anyway.
- 
		This reply was modified 5 years, 1 month ago by 
mawilson.
 
September 21, 2020 at 3:46 pm in reply to: Enabling a button after text is entered without pressing Enter #6140mawilson
ParticipantThanks! That worked great! This isn’t crucial, but is there a way to disable the button again if they delete the text? It’s not a huge deal if there isn’t.
mawilson
ParticipantThanks, that works great!
 - 
		This reply was modified 5 years, 1 month ago by 
 - 
		AuthorPosts