C
C#3mo ago
TrattTratt

Set image value in an input field ASP.NET core

HI, the user submits a text field and an image with a form. Everything works fine and I can set the value of the text input but is there a way to set the value of the image input so it doesent say"no file selected" but instead says "filename.jpg" or smth like that. Im sorry if im explaining it bad lol
No description
4 Replies
TrattTratt
TrattTratt3mo ago
Here is the text field value set
No description
TrattTratt
TrattTratt3mo ago
But here is the image input, I cannot set the value to an URL, it says no file selected, I guess bec it needs to be an IFormFile maybe?
No description
Angius
Angius3mo ago
No can do
TrattTratt
TrattTratt3mo ago
alraight :/