I have an array of objects:
[{"id":2, "value": "Yellow", "property_id": 3, "created_at": "2019-21-10"},{"id":3, "value": "Blue", "property_id": 3, "created_at": "2019-21-10"},{"id":4, "value": "White", "property_id": 3, "created_at": "2019-21-10"},{"id":12, "value": "Green", "property_id": 3, "created_at": "2019-21-10"}]
Which is generated through this line of code:
allColours.find(colr => colr == this.templateColours.colour_id).colour_default_values
In each object I want to isolate all values under 'value' e.g. the end result should be: [Yellow, Blue, White, Green].
How can I achieve this?