Page 1 of 1

Number-only text field

Posted: Fri Jul 12, 2019 8:26 pm
by Bilka
Hi I want a number only text field but I don't want to implement it myself. Thanks.

Re: Number-only text field

Posted: Fri Jul 12, 2019 8:46 pm
by Therenas
What's your use case?

Re: Number-only text field

Posted: Fri Jul 12, 2019 9:29 pm
by Bilka
I won't have to sanitize user input for "not number" in textfields, which allows me to avoid a lot of pcalls.

Re: Number-only text field

Posted: Fri Jul 12, 2019 11:37 pm
by Nexela
Why pcalls though........

Re: Number-only text field

Posted: Fri Jul 12, 2019 11:52 pm
by Bilka
Nexela wrote:
Fri Jul 12, 2019 11:37 pm
Why pcalls though........
Lazyness. Wasn't that obvious from the first post?

(I'm also exaggerating.)

Re: Number-only text field

Posted: Sat Jul 13, 2019 10:29 am
by Therenas
I would like to have this as well, btw.

Re: Number-only text field

Posted: Sat Jul 13, 2019 2:36 pm
by 5thHorseman
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

Re: Number-only text field

Posted: Sat Jul 13, 2019 5:52 pm
by slippycheeze
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
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...

Come to think of it, I should probably just blueprint it. One single combinator in a blueprint, just to set some defaults.