cisagov / manage.get.gov

A Django-based domain name registrar that interfaces with an EPP registry
https://get.gov
Other
60 stars 18 forks source link

Dsdata keytag shows a down arrow that when clicked shows negative numbers #1242

Open abroddrick opened 1 year ago

abroddrick commented 1 year ago

Issue description

Keytag on Dsdata is a number field that must be positive, and due to it being a number field it defaults to having a up and down arrow to the right side of the number entry box (see picture in additional context). However, if you click the down arrow when there is nothing in the box yet it shows -1 and will further allow other negative numbers, which won't be valid in that field anyways. While not a bug as this is the default behavior for a number box AND it will show an error if you try to submit it like that, it does appear to be an odd user experience and a bit misleading.

Acceptance criteria

Additional context

The up/down arrows on number fields is pretty standard it may be more effort than it is worth to fix this and may not be entirely trivial. Screen shot of field for reference: image

Links to other issues

No response

abroddrick commented 8 months ago

changed epic from DNS hosting to manage domain experience