Refactor file input fields in ImageViewerDialog and MembersView to remove camera capture attribute. This change simplifies the file selection process for users while maintaining functionality for image uploads.

This commit is contained in:
Torsten Schulz (local)
2025-11-13 15:52:12 +01:00
parent 7aff827711
commit fff5d404f5
2 changed files with 2 additions and 2 deletions

View File

@@ -81,7 +81,7 @@
<div v-if="allowUpload" class="upload-section">
<label class="upload-label">
📤 Bilder hochladen
<input type="file" multiple accept="image/*" capture="environment" @change="handleFileSelect" />
<input type="file" multiple accept="image/*" @change="handleFileSelect" />
</label>
</div>

View File

@@ -93,7 +93,7 @@
<label class="checkbox-item"><span>Pics in Internet erlaubt:</span> <input type="checkbox" v-model="newPicsInInternetAllowed"></label>
<label class="checkbox-item"><span>Testmitgliedschaft:</span> <input type="checkbox" v-model="testMembership"></label>
<label class="checkbox-item"><span>Mitgliedsformular ausgehändigt:</span> <input type="checkbox" v-model="newMemberFormHandedOver"></label>
<label><span>Bild:</span> <input type="file" accept="image/*" capture="environment" @change="onFileSelected"></label>
<label><span>Bild:</span> <input type="file" accept="image/*" @change="onFileSelected"></label>
<div v-if="memberImagePreview">
<img :src="memberImagePreview" alt="Vorschau des Mitgliedsbildes"
style="max-width: 200px; max-height: 200px;">