Number-only text field
Number-only text field
Hi I want a number only text field but I don't want to implement it myself. Thanks.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: Number-only text field
What's your use case?
Re: Number-only text field
I won't have to sanitize user input for "not number" in textfields, which allows me to avoid a lot of pcalls.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: Number-only text field
Why pcalls though........
Re: Number-only text field
Lazyness. Wasn't that obvious from the first post?
(I'm also exaggerating.)
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: Number-only text field
I would like to have this as well, btw.
- 5thHorseman
- Smart Inserter
- Posts: 1193
- Joined: Fri Jun 10, 2016 11:21 pm
- Contact:
Re: Number-only text field
I agree that would be awesome and if you could add a slider so I don't have to put my sandwich down while mousing around in the game <3
-
- Filter Inserter
- Posts: 587
- Joined: Sun Jun 09, 2019 10:40 pm
- Contact:
Re: Number-only text field
All I want for christmas is a checkbox for "negative" so that I can set up that "each * -1 => each" combinator I use all the time more easily...5thHorseman wrote: Sat Jul 13, 2019 2:36 pm I agree that would be awesome and if you could add a slider so I don't have to put my sandwich down while mousing around in the game <3
Come to think of it, I should probably just blueprint it. One single combinator in a blueprint, just to set some defaults.