Currently, I am tackling a challenge in vue-js.
In my codebase, there exists a data
object known as items
. I am iterating through these items and aiming to present a dropdown menu containing the list of products.
My goal now is to showcase only those products that have values in an array named "Watt" and also include a Title
.
Let me illustrate an example item from the items
:
Item
-Title
-Date
-Specifications [Array]
-- [0] Name: "Watt"
-- [0] Value: 5
-- [1] Name: "Weight"
-- [1] Value: 100
Do you have any recommendations on how to tackle this issue?