Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multiples of food to journal #61

Open
spusuf opened this issue Sep 29, 2023 · 1 comment
Open

Add multiples of food to journal #61

spusuf opened this issue Sep 29, 2023 · 1 comment

Comments

@spusuf
Copy link

spusuf commented Sep 29, 2023

Adding multiple serves of a food is possible, but has to be done one at a time. Having a quantity dropdown next to the meal selector would allow more effective use of servings

@spusuf
Copy link
Author

spusuf commented Sep 29, 2023

Mocked up using the inspect html tool.

<select name="ingredients[meal][0]" required="required" class="rounded-md shadow-sm border-gray-300 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 px-4 py-1 my-2" style="width:170px; float: left;">
    <option value=""></option>
    <option value="0">
            Meal 1
        </option>
                <option value="1">
            Meal 2
        </option>
                <option value="2">
            Meal 3
        </option>
    </select>
<select name="ingredients[meal][0]" required="required" class="rounded-md shadow-sm border-gray-300 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 px-4 py-1 my-2" style="width:85px; float: right;">
    <option value=""></option>
    <option value="0">Qty.</option>
                <option value="1">x1</option>
                <option value="2">x2</option>
    </select>

image

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

No branches or pull requests

1 participant