There is a limitation on the site currently where if the user were to input something like "1 cup rice", the value actually passed into the server would look something like this
{ "measurement": "", "quantity": "1", "text_friendly_name": "cup rice" }
This is caused by the fact that the front end app is getting a list of valid measurements and isn't yet smart enough to look at it and realize that "cup" and "c" (which is the valid measurement from the server) are the same. Need to fix this to be "smart" so it can parse multiple values. Also may want to consider making the back end a bit smarter too.
There is a limitation on the site currently where if the user were to input something like "1 cup rice", the value actually passed into the server would look something like this
{ "measurement": "", "quantity": "1", "text_friendly_name": "cup rice" }
This is caused by the fact that the front end app is getting a list of valid measurements and isn't yet smart enough to look at it and realize that "cup" and "c" (which is the valid measurement from the server) are the same. Need to fix this to be "smart" so it can parse multiple values. Also may want to consider making the back end a bit smarter too.