Skip to content

add accept="image/*" to restrect file upload input to images only#1600

Closed
ahmmmmad11 wants to merge 3 commits intolaravel:5.xfrom
ahmmmmad11:5.x
Closed

add accept="image/*" to restrect file upload input to images only#1600
ahmmmmad11 wants to merge 3 commits intolaravel:5.xfrom
ahmmmmad11:5.x

Conversation

@ahmmmmad11
Copy link
Copy Markdown

This PR is just to restrict the file input to images only.

for UpdateProfileInformationForm.vue and update-profile-information-form.blade.php components for inertia and livewire respectively the file input is only used to select profile photo but it's not restricted to show images only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants