Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Comments on button automatically enables when using tab and enter

Post

button automatically enables when using tab and enter

+5
−0

I never thought of it. Recently, I was going to write a comment (Starting a new thread) with 14 characters. I didn't look at character lengths. After completing my comment I just pressed tab twice then, clicked on Enter. Then, I just got an error 422 unprocessable.

Usually, we were disabling submit button. But, when using tab and enter that button enables automatically. I am not sure if it happens in other Browsers. I am using Chrome.

I think Ruby can do something for the reason (My browser is destroying JS :D).

(The same thing happens with Firefox also (tested))

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

3 comment threads

No repro? (3 comments)
Try running Chrome with a new, clean browser profile... (2 comments)
Simplification (1 comment)
No repro?
Monica Cellio‭ wrote over 2 years ago · edited over 2 years ago

I can't reproduce now, using Chrome. Can you? Specifically, I started a 14-character comment and then tried the following tests:

(1) shift: button not enabled; (2) shift-enter: button enabled, which is correct because that's the 15th character.

I then removed a character (so down to 13) and shift-enter did not enable the button.

deleted user wrote over 2 years ago

It was tab button not shift... Sorry!

Monica Cellio‭ wrote over 2 years ago

Ah, thanks. Yes, that I can reproduce. So when you tab out of the textbox the button lights up; looks like we need to do whatever check we're doing when you click out for tab too.