Goal
Upload an image of an accident and display the uploaded image using an image component.
Progress
- I have an image upload component and an image component.
- User uploads image
- The data is stored in an image field
- An image component displays the image from this field
- Result is that before any image is uploaded, an image from the first record in the table is displayed in that field. I noticed that for any other component I can select data from the first record in the table. Again this is happening when a new record is being added. The map component (which is working correctly) is also displaying data from the first record in the table by default.
You can see the add new record screen has map coordinates and a photo displaying despite no data being added yet. How do I stop this from happening? I’ve not encountered this before.