Skip to content

Conversation

@Andries-Smit
Copy link
Contributor

Within the Insulin dialog, and Carb dialog, are quick buttons to add x amount; this helps users to enter the values more quickly. When the value is larger than the max, the toast is shown, and the OK button is disabled.

image

Expected behavior implemented in the PR; similar to the number picker + and - button, is to set the value to the max, show the toast and therefore keep the OK button enabled.

The only one case where the OK buttons will disable when the user enters a value larger than the max with keyboard is it best practice to validate keyboard input and not overwrite them

@MilosKozak MilosKozak merged commit ecefcdf into nightscout:dev Jan 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants