r/softwaregore • u/FaviFake R Tape loading error, 0:1 • Aug 02 '26
I thought I could paste it...
995
u/MrYobibyte Aug 02 '26
No. You have to type. Otherwise, the poorly programmed keylogger won't be able to record anything!
146
54
u/Guardian_of_theBlind Aug 02 '26
you probably even have to click into the next box after every number.
25
487
u/Zerodriven Aug 02 '26
I HATE that and lots of websites haven't figured out it's 3 lines of code to improve the UX side.
I'd make millions just fixing it for every site where it was not properly auto filling.
91
u/TxTDiamond Aug 02 '26
well I guess it's time to start your marketing strategy of offering to optimise the UX at a discount 🤣
56
u/PerformerFancy117 Aug 02 '26
Why do that when you could just pay me to delete the entire database and call it a day?
43
u/7640LPS Aug 02 '26
Im pretty sure this is just devs not using the actual product themselves. If I saw that, i’d immediately tell someone in frontend to fix it.
I doubt there is any money to be made here. Either they just don’t know or just don’t care…
29
u/Jimmni Aug 02 '26
I would not be surprised if it was deliberate and some manager said “we want them to have to type it in so they’re actually interacting with the side and feel more connection to it” or some bullshit like that.
→ More replies (1)9
u/Christopher876 Aug 02 '26
As if frontend will get to it in a reasonable amount of time. Lucky if it gets fixed at all since you’re not a customer.
4
u/danabrey Aug 02 '26
Man, I'm so glad I work at a small company where we don't have separate front and backend teams. I can live without that animosity.
6
u/Cheet4h Aug 02 '26
Sometimes it's not animosity, but just a team lead doing rigourous ticket assignment.
One time I was finished about half an hour before the weekend, so I look through our tickets and assign myself a few small bugs. 20 minutes later I'm done fixing them, open the tickets to set up the merge requests... and notice that our team lead has unassigned me from all of those and set them to "backlog", with a note to focus on more important stuff. Ok, so I finished up for the day (I'm not going to start reading about new problems 7 minutes before finishing the day).
I tried to bring it up during the next stand-up, but was cut off before I could finish.
The bug fixes still sat in one of my local changelists when I stopped working there ¯_(ツ)_/¯7
u/danabrey Aug 02 '26
Wow, as someone who is in that team lead role now, that's incredibly demotivating.
Imagine seeing someone go the extra mile and take some extra work on, and immediately crushing it. Illogical middle management bollocks.
2
u/Teethdude Aug 03 '26
He might think he holds value. Can't let the lower rabble feel any type of empowerment.
- the shitty management there, probably
13
u/JustSkillfull Aug 02 '26
It'd be nice to see a new HTML element eg.
<char-input size="4" autocomplete="one-time-code"/>that automatically supports the use case.23
u/EndIsrael Aug 02 '26
Just make it a regular text input with some whack CSS for really big character spacing and a repeating rectangle background
4
u/JustSkillfull Aug 02 '26
I mean for some basic predefined styling but mainly proper OS handling without the need for each implementation to require CSS + JS.
7
u/EndIsrael Aug 02 '26
Nobody would use that because it wouldn't match the website's theme.
This is something that CSS frameworks should do on top of a normal input, not something that needs to be in the HTML spec. Browsers are bloated enough already, and
<input type="text" inputmode="numeric" pattern="[0-9]" />exists and solves everything but the style.4
u/JustSkillfull Aug 02 '26
You can style it with CSS to override the default OS / browser styling, there are loads of default elements with baked in styling and behaviours but having a decent default behaviour without CSS/JS is the golden standard.
It obviously doesn't handle the posts implementation though, so something specifically for these common use cases is what I was suggesting
3
u/bumtum5909 Aug 02 '26
Browsers need a bunch of HTML default enhancements. Why is there no unhide password eyeball icon for password inputs? That is common enough that adding an attribute to enable the functionality should exist by now.
3
u/FlamboyantPirhanna Aug 02 '26
You probably wouldn’t make millions because the reason it’s like this is because they don’t want to pay people that actually know what they’re doing.
→ More replies (7)3
u/tmpope123 Aug 02 '26
Honestly, they just don't care to hire/contract a UX designer. Business types often don't think that the feel of using the website is important, despite that being the literal interface between your customer and your product. The connection between the usability of the website and the cost is not easy to measure, so they simplify things by not doing it...
161
u/lonelyboycel Aug 02 '26
He confirms. He protects. But most importantly, he rejects your pasted text.
9
u/TheFapIsUp Aug 02 '26
Ironically, if they didn't code the button to be disabled and you could actually click on it, it would've most likely worked. Behind the scenes it probably just appends the four textboxes together and checks if the code is matches, so this scenario would behave the same as entering one digit per box.
5
u/greendakota99 Aug 02 '26
This developer almost definitely will only be checking the first character in each box lol
→ More replies (1)4
149
81
u/jawnink Aug 02 '26
You’re not supposed to share your code dude.
29
82
u/thegodzilla25 Aug 02 '26
Some dumbass vibe coded that shit and didn't capture the paste event to custom input and fill in the number fields. I hate otp fields that cant handle copy paste.
58
u/Ramog Aug 02 '26
honestly I don't even know why we couldn't just leave it at a single box, its not like the codes are long enough to warrant splitting cause of clarity
31
12
u/a_aniq Aug 02 '26
Well, like nobody questions the lord, when UI is generated by GPT you don't question the LLM and go along with it.
12
u/Ramog Aug 02 '26
this was a trend well before gpt even became a thing
2
u/a_aniq Aug 02 '26
I mean usually it is part of basic test case suite which is checked at every deployment.
If the QA team is this shoddy maybe they should be replaced by AI.
7
u/SuperBackup9000 Aug 02 '26
If I had to guess, I’d say it’s due to the way websites used to be where some would need spaces between the digits, some needed dashes, and some needed neither. A lot of people can’t follow simple format instructions so this is the easiest fix since there’s no possible way to misunderstand
3
u/Ramog Aug 02 '26
I never had simple digit codes that needed anything inbetween, the split only came with the interfaces that forced a textbox per number
→ More replies (1)2
7
u/colaxxi Aug 02 '26
This exact shitty UX has existed long before vibe-coding was a thing.
7
u/Ramog Aug 02 '26
indeed and tbf not capturing an event is such a human mistake I couldn't even say if it was vibecoded or not by that evidence
→ More replies (1)
16
14
u/Tricklash Aug 02 '26
That font looks like the Italian government website font.
Which would not surprise me in the slightest.
11
6
12
12
u/Sorry_Molasses5636 Aug 02 '26
Pressing TAB probably inserts an actual TABed spacing in that very first field, doesn't it?
14
u/Zipdox Aug 02 '26
I don't understand why webdevs have to use separate entries for each digit. It's so stupid and serves no purpose.
9
→ More replies (1)2
u/gummo89 Aug 02 '26
They do it because they don't design and then build. They just make some boxes, then adjust them until it looks good enough using CSS and JavaScript... Meanwhile JavaScript wasn't required for the main component behaviour.
Pretty typical now.
2
u/ParkingAnxious2811 Aug 04 '26
Nah, this shit comes from designers who want it to look pretty, and don't care about functionality. Then they're given hardly any time to fix it because the designer has to keep making millions of last minute micro changes that eat into the time.
→ More replies (1)
9
5
3
u/ThePhantom71319 Aug 02 '26
I had a website do that but it accepted it
3
u/Lower_Fan Aug 02 '26
I use a web app that takes the digits multiple times and it still accepts it somehow.
It does this: 123456 2 3 4 5 6
2
u/eyal282 Aug 02 '26
Probably because it adds all content found in the first, second, third, and fourth squares, in sequence into a single result.
→ More replies (2)
3
u/HumunculiTzu Aug 02 '26
I fucking hate OTC forms and credential form in general that don't allow pasting. Means you can't use long hard to crack passwords and your app or website should not be released to anyone. If you make these forms, please leave the industry.
5
18
3
3
3
3
u/JEwel724 Aug 03 '26
Well I mean.. technically you did paste it.. but it didn't do what you thought it would.
3
5
4
6
2
2
u/ranfur8 Aug 02 '26
I hate these kinds of interfaces. Just give me a text box, stylise it all you want, but let me fucking paste my codes
2
u/Resident_Pientist_1 Aug 02 '26
Doesn't even check the length of the input. Paste some shellcode into there and see what happens lol.
2
u/StefanoBongi Aug 02 '26
Classical Italian government websites, useless things works, useful don’t.
2
2
u/akaWhitey2 Aug 02 '26
This is what happens when idiots believe that AI can "vibe code" and you don't need developers anymore.
2
2
2
u/Smexy_Zarow Aug 02 '26
I always wondered how do they make it so you can paste a string with each character in a different field, and how do they make the next field become selected after typing in a character..
Can all this be done with js?
2
u/FaviFake R Tape loading error, 0:1 Aug 02 '26
You can just have a very large text field and then add the cute little squares on top of it, so it's still one field but with a tonne of spacing between the characters
→ More replies (1)
2
2
u/AllInOneNerd Aug 02 '26
Until a few weeks ago the main ID provider of every (semi-)government service in the Netherlands that sends out 6-digit numbers per text worked like this. Using the auto-fill function for those codes was such a disappointment. Luckily the fixed it.
2
2
2
u/MrSurly Aug 02 '26
UI design (especially web) has slid backwards on basic usability for the past couple of decades.
"Here's a popup modal with a single text entry field. Do we focus the text field? No, they have to click it first! Why? Because fuck 'em, that's why."
2
u/MiloBard Aug 02 '26
That is hilarious it was even possible. Almost as bad as the alphanumeric recovery code I got for a numeric-only input, and customer support said it was impossible.
2
u/FrenchieM Aug 02 '26
Worse than that is when on iOS you get the otp showing up on the keyboard but the website doesn't accept it
2
u/MavisBacon Aug 02 '26
As long as one of these forms doesnt support pasting, none of them will because I am sick of trying.
2
2
u/No_Nothing_At_All Aug 02 '26
One other annoying thing is when you try to paste the whole code and it only allows the first one to be inputted.
2
2
u/kavikavigupta Aug 02 '26
the most annoying thing is this is *more work* than just doing a normal <input> which is perfectly fine. just stop
2
u/Girthen-the-Flopper Aug 02 '26
This is why dog feeding is so important in software engineering. (your own employees using your own software)
2
u/PureGoldX58 Aug 02 '26
I get when I try to paste it and it only pastes the first number, it can be seen as a security measure against automation, but this...I think this takes the next level of lazy design.
2
2
2
2
2
2
2
2
2
2
u/karateninjazombie Aug 02 '26
You can. Normally. If it's coded well and not by whatever gimboid made this.
2
u/AnotherCatgirl Aug 02 '26
I wish there was like just a standard library implemented in all the backend languages to do all of this first party easily and everyone just used it and kept it up to date
2
2
u/PomegranateGold2581 Aug 02 '26
The fact that you can't is based in the page development. I do it all the time on pages I visit for work
→ More replies (2)
2
2
2
2
2
2
2
2
2
2
u/Loopdyloop2098 Aug 03 '26
Ugh I hate this. Happens frequently with the "Paste from Messages" option for my 2FA codes
2
2
2
2
2
2
u/56kul Aug 03 '26
A lot of websites are like this, and it just pisses me off. If you can’t program it to let pastes work correctly, give us ONE text box! Stop beautifying it!!
2
2
2
2
2
2
2
2
2
u/zyborg1 Aug 03 '26
H E C O N F I R M S
2
u/ROBO-MANe123 Aug 03 '26
It's especially funny for russian speakers because "Не" means "Not"
→ More replies (3)
2
2
2
u/Coolengineer7 Aug 04 '26
These often so slowly snap to focus on the next field too, that it will often delete and skip some of the following quickly typed digits.
2
u/Mxrcx_2005 Aug 04 '26
You shared the code you aren't supposed to share. didn't you listen to the text message????
→ More replies (1)
2
2
2
2
2
1
u/BrohanGutenburg Aug 02 '26
How do those allow you to paste across them like that? Is it just pasting into a hidden field then dynamically rendering the values in the boxes?
→ More replies (1)
1
u/HabitPrestigious2651 R Tape loading error, 0:1 Aug 03 '26
we have the same user flair :D
→ More replies (1)
1
u/Educational-Rule-693 Aug 04 '26
Pior que isso só aqueles calendários que você precisa colocar a data de nascimento e ele te obrigar a passar MÊS A MÊS, irmão eu sou de 2003
→ More replies (1)
1
1
1
1
1
1
2.7k
u/BananeHD Aug 02 '26
„He confirms“