Does the Cropper component support dynamic modification of the Source property? #5179
-
Hello, I didn't find any mention in the documentation, but I checked all possible options why this might not work.
There is nothing special in my code, I just change the path to the image file after uploading it via FileEdit. One of the variants of my code when I observe this errorFrontend razor componentIt is called by pressing the button:
Backend razor component code:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
This should work. We do have update logic for the Source parameter. Can you open a new issue with the code to reproduce it? |
Beta Was this translation helpful? Give feedback.
-
Hi, it doesn't work for me too, I intercept the file from InputFile
onchange here, I convert to a local image string
This gives me error in Cropper |
Beta Was this translation helpful? Give feedback.
-
I will try and look what might be wrong. |
Beta Was this translation helpful? Give feedback.
-
I updated to version 1.43 and changed the code and it works fine.
|
Beta Was this translation helpful? Give feedback.
I updated to version 1.43 and changed the code and it works fine.