Perry@kbin.socialtoProgrammer Humor@lemmy.ml•New VS Code Extension Replaces Booleans with Toggles
0·
1 year agoAs long as it’s not literally a toggle that you can interact with.
I can only imagine the horrors of accidentally clicking in the editor while selecting some text and quietly changing certificateIsValid = false;
to true
or something like that.
They are probably reusing a component that happens to sort its entries alphabetically, since that is most commonly the expected behaviour. If the form is configured in a CMS, whoever built it might not even know it’s happening and has entered the data properly, but it gets resorted in the presentation layer. It’s also not impossible that the behaviour of the component has changed at some point and this particular case didn’t have test coverage or wasn’t actually part of the specification.