desired shifts max to 8;UI styling

This commit is contained in:
Dobromir Popov
2024-05-23 02:52:03 +03:00
parent cfc78abff9
commit cf4546e754
2 changed files with 2 additions and 1 deletions

View File

@ -59,6 +59,7 @@ const PublisherInlineForm = ({ publisherId, initialShiftsPerMonth }) => {
type="number"
id="desiredShiftsPerMonth"
name="desiredShiftsPerMonth"
min="0" max="8"
value={desiredShiftsPerMonth}
onChange={(e) => setDesiredShiftsPerMonth(parseInt(e.target.value))}
className="textbox mt-1 sm:mt-0 w-full sm:w-auto flex-grow"