Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Change options for Cropper #5847

Open
drma-tech opened this issue Nov 17, 2024 · 5 comments
Open

[Bug]: Change options for Cropper #5847

drma-tech opened this issue Nov 17, 2024 · 5 comments
Assignees
Labels
Type: Bug 🐞 Something isn't working
Milestone

Comments

@drma-tech
Copy link

Blazorise Version

all

What Blazorise provider are you running on?

None

Link to minimal reproduction or a simple code snippet

I can't set any configuration. If I try just one, the page gives an error when running. If I try more than one, I get this error.

Image

Steps to reproduce & bug description

any attempt to define options.

What is expected?

can set one or more options.

What is actually happening?

Image
I don't know if this is the reason (as I don't know the behavior of the record), but the options structure is a record and the properties are set to init.

What browsers do you see the problem on?

No response

Any additional comments?

ImageOptions, SelectionOptions, GridOptions

all have the same problem

@drma-tech drma-tech added the Type: Bug 🐞 Something isn't working label Nov 17, 2024
@stsrki
Copy link
Collaborator

stsrki commented Nov 17, 2024

It looks like there is something wrong with Visual Studio IntelliSense. Can you try restarting it?

@drma-tech
Copy link
Author

drma-tech commented Nov 17, 2024

It's not Visual Studio. I can't even compile.

Image

And if I use just one attribute, I get this error:

Image

@stsrki
Copy link
Collaborator

stsrki commented Nov 17, 2024

Replace this
Image

with ,

@drma-tech
Copy link
Author

drma-tech commented Nov 17, 2024

ok, this work. but

still doesnt work on browser (SetParametersAsync - just where it gets the options)

Image

@drma-tech
Copy link
Author

Taking advantage of the cropper subject, when I'm starting and still don't have an image, it looks like this:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug 🐞 Something isn't working
Projects
Status: 🔙 Backlog
Development

No branches or pull requests

3 participants