C
C#8mo 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
TrattTrattOP8mo ago
Here is the text field value set
No description
TrattTratt
TrattTrattOP8mo 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
Angius8mo ago
No can do
TrattTratt
TrattTrattOP8mo ago
alraight :/
Want results from more Discord servers?
Add your server