108
Views
8
Comments
Solved
[IziModal] Error with OutSystemsUI dropdownSelect and modal
Question
izimodal
Web icon
Forge asset by Bruno Machado

Hi,

I want to use this modal but I have a problem.
When there is the standard dropDownSelect from OutSystemsUI on a combobox I get the following error:

When I use the standard OutSystemsUI modal this problem is not there.

How can this be solved?

Cheers,


Johan

UserImage.jpg
Bruno Machado
Staff
Solution

Johan den Ouden wrote:

I think that's the same error but you can't see it somehow (maybe no error handling -> messagebox?).
Can you share your OML with the solution. I have also tried that.

sure. 

I already updated the version that's on the forge. This example uses the new version.

Let me know if this fix did it for you.


iziModalTests.oml
2019-04-11 10-22-10
Domingues

Hi

Are you setting the 

OpenButtonIdentifier and OpenButtonIdentifier Correctly? 

That would be my bet... 

The js library is trying to access to a property that the element you are using doesnt have.


 

UserImage.jpg
Bruno Machado
Staff

Hey! 

That may be the problem. But he has the modal opened already. 

Johan, is it possible to have more context about your implementation, please?

Thanks

2023-08-25 08-57-29
Johan den Ouden

Hoi,

I use an action to open the modal.

I will try if I can make a standalone OML which I can share.

2023-08-25 08-57-29
Johan den Ouden

But I think you could just make a very simple form with a combox inside it. As a source use the users entity or something. Add the OutSystemsUI dropDownSelect and connect it to the combobox and it's broken in the modal.


UserImage.jpg
Bruno Machado
Staff

in fact, i'm reproducing a problem that i'm already checking. When adding the outsystems DropDownSelect, the combo doesn't open. One quick fix for this is refreshing the container that has the combo before opening it. But still, i cant have the error that you're showing on the image.

2023-08-25 08-57-29
Johan den Ouden

I think that's the same error but you can't see it somehow (maybe no error handling -> messagebox?).
Can you share your OML with the solution. I have also tried that.

UserImage.jpg
Bruno Machado
Staff
Solution

Johan den Ouden wrote:

I think that's the same error but you can't see it somehow (maybe no error handling -> messagebox?).
Can you share your OML with the solution. I have also tried that.

sure. 

I already updated the version that's on the forge. This example uses the new version.

Let me know if this fix did it for you.


iziModalTests.oml
2023-08-25 08-57-29
Johan den Ouden

Hi Bruno,

The problem is solved in this version.
Thanks!

I have marked you reply as the solution.

Cheers,

Johan

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.