Retrieving actual text from a Lookup Dropdown

Retrieving actual text from a Lookup Dropdown

Hi Everyone,

I'm following Zoholics videos on Deluge and used this statement to lookup the pizza price from the Inventory:

  1. colPizzaDetails = Inventory[Pizza == input.Pizza && Size == input.Pizza_Size];
This error is displayed when trying to save the script:

In Criteria left expression is of type STRING and right expression is of type BIGINT and the operator == is not valid

In the video, he was able to save the script. Looks like a BIGINT is stored in the Lookup Dropdown now instead of text as shown in the video.

Can you tell me how to alter the code statement so I can change  input.Pizza to represent the actual Pizza Name text that the user sees on the screen?

Thanks in advance.

Truly,
Emad