maijako / focus-pilot

A repository to hold the code for Focus Pilot - a work timer and planner with customizable features that aid productivity while keeping the user organized

Repository from Github https://github.commaijako/focus-pilotRepository from Github https://github.commaijako/focus-pilot

timer-input-field-validation

maijako opened this issue · comments

Validate the timer input so that the user can't input the values that don't satisfy the min and max values.

User Story

As a user of the Pilot app
I want my input fields to correct my entered values if they are not valid
So that I don't have to worry about how much time to set my work and break intervals for

Acceptance Criteria

GIVEN the Pilot app timer
WHEN I input a value in the field that's below or over what's valid
THEN the value gets automatically updated to the minimum value recommended for that time block