Skip to content
New issue

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

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

Already on GitHub? # to your account

Adding Ingredient With Variable Quantity #314

Closed
zombiewoof opened this issue Nov 11, 2020 · 0 comments · Fixed by #316
Closed

Adding Ingredient With Variable Quantity #314

zombiewoof opened this issue Nov 11, 2020 · 0 comments · Fixed by #316

Comments

@zombiewoof
Copy link

When adding an ingredient that has a variable amount, for example '1/2-1 teaspoon', the input cannot be submitted.

Steps to Reproduce

Choose new recipe in RC1. Enter an ingredient that has a variable amount. In my test the ingredient used 1/2 to 1 teaspoon, input as 1/2-1 in the amount input and teaspoon in the unit input.

Expected Behavior

Input of variable amount should be accepted. Examples would be:
'1/2-1' - 1/2 to 1
'1 1/2-2' - 1 and 1/2 to 2
'1-1 1/2' - 1 to 1 and 1/2
'1 1/2-2 1/2 - 1 and 1/2 to 2 and 1/2

Current Behavior

If amount input is not whole number, fraction or mixed fraction (like 1 1/2), input is not accepted - no error message, just not allowed to submit. Changing amount to whole number, fraction or mixed fraction allows input to be submitted.

Environment

gourmet-c3ece056
Operating System: Ubuntu 20.04 (with latest updates)
Desktop: Cinnamon 4.4.8
Installed as Flatpak

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant