Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
How do you even make sure you got all the options when this was written?
And also this person can go the the special place in hell -
@jiraTicket Beautiful code to beautiful UX design!
(With beautiful time complexity, of course)
while (comboBox.items.count() !=
10000) {
do {
itemToInsert =
rand.next(10000);
} while (comboBox.items
.indexOf(itemToInsert) != -1)
comboBox.items
.add(itemToInsert);
} -
Tips: force the softkbd to appear : in some keyboards, for example hackers keyboard, have a force button that can be put in notification bar.
Then "type" the number in the "air" on the softkbd, while having the dropdown opened. Voila, correct number. (might not work on all devices or browsers)
Related Rants
Combo box to select numbers.
On mobile.
Between 0-9999.
Unsorted.
Good luck!
undefined
uxfail