Closed VirginiaDooley closed 5 months ago
Small comment inline. Also do we never want decimals when excepting number input using
DCNumberInput
? It sounds quite general purpose to me. Would we ever be expecting percentages/proportions to be entered with it?
@pmk01 ^^ could you comment? I personally think accepting it and trying to figure out if it's the same context and mentioned in the issue vs a percentage and cleaning it could get tricky.
We never want decimals (well, we might if we add other electoral systems, but right now, no). We don't want people to add percentages either.
@VirginiaDooley This is good, but based on the decimal point, can you rename this field to DCIntegerInput
to make it clear that it's for integers only?
Closes https://github.com/DemocracyClub/yournextrepresentative/issues/2300