xmartlabs / Eureka

Elegant iOS form builder in Swift
https://eurekacommunity.github.io
MIT License
11.78k stars 1.33k forks source link

negative numbers for DecimalRow #679

Closed yurevich1 closed 8 years ago

yurevich1 commented 8 years ago

How can I setup DecimalRow in oreder to input negative values?

That is, I can type something like 10.44 but not -9.329

lognaturel commented 8 years ago

I believe the only thing that keeps you from entering a negative number is that the keyboard that's used by the row doesn't include a minus sign. You can check out this Stackoverflow thread to see some suggestions on how to create a custom keyboard that includes one. Alternately, you could consider adding the minus to the inputAccessoryView.

mtnbarreto commented 8 years ago

@lognaturel 👍