[IziModal] Error with OutSystemsUI dropdownSelect and modal

Forge Component
(1)
Published on 8 May by Bruno Machado
1 vote
Published on 8 May 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

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.


 

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

Hoi,

I use an action to open the modal.

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

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.


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.

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.

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.


Solution

Hi Bruno,

The problem is solved in this version.
Thanks!

I have marked you reply as the solution.

Cheers,

Johan