I’m building a system in which the “makers” can upload his product on the one side and “eaters” can look for and select those product. Among the data type saved when “makers” upload their product there is a “max order possible”(e.g. the max number of a certain item that is available for purchase). I’m trying to show that quantity as dropdown in the “eaters” side (that is when client search products), but can’t figure out how to show dynamically the right number.
I tried two approaches:
- adding an input and an ascending and descending icons with conditions in which by clicking the ascending (or descending) icon the input number should increase/decrease by 1. The input should be disabled and turn red once the value reaches the max order possible. I thought this would work but it does not.
- adding a dynamically-sourced dropdown that should feed the data type “quantity list” saved while the “maker” was uploading the details. Also this one does not work…