serenity-is / Serenity

Business Apps Made Simple with Asp.Net Core MVC / TypeScript
https://serenity.is
MIT License
2.57k stars 796 forks source link

[LookupEditor]: LookupEditor cannot be disabled #7083

Closed dominhnhien1997 closed 4 months ago

dominhnhien1997 commented 4 months ago

Before submitting the bug report, please read and check the following items

What happened?

I have a LookupEditor in a dialog, in that dialog I use TemplatedDialog. I now want to disable LookupEditor but it doesn't work with the following methods a. EditorUtils.setReadonly(this.checkLookup.element, true); b.this.checkLookup.readonly =true###

What did you expect to happen?

LookupEditor cant be disabled

How to reproduce?

In TemplatedDialog you can create a LookupEditor then you can try to disable it

What Serenity Nuget Versions are you seeing the problem on? (separated by comma)

Serenity.Scripts 6.8.0

Relevant log output

No response

Serene template version

No response

Sergen version

No response

Code editor

No response

Operating System

No response

Node.js version

No response

TypeScript version

No response

Database type and version

No response

On which device do you see the problem?

No response

On which operating system do you see the problem?

No response

On which browsers do you see the problem?

No response

On what version of the browsers do you see the problem?

No response

Additional information

No response

volkanceylan commented 4 months ago

Use discussions