mendixlabs / mendix-dropdown-container

Add Mendix elements to a Dropdown Container
https://appstore.home.mendix.com/link/app/111568/
Other
1 stars 1 forks source link

Widget Dropdown Container 'dropdownContainer1' cannot contain widgets of type data view #3

Closed Narev closed 4 years ago

Narev commented 4 years ago

It would be nice if you could nest dataviews within your dropdown container in case you want to conditionally show/hide elements based on nested attributes.

Or is this the same limitation as the snippet one?

JelteMX commented 4 years ago

Unfortunately this is a limitation in the platform, not the widget. I hope this changes in the future, but I can't help you with this one at the moment

bartheijs commented 4 years ago

Is this platform limitation still in place? I have a use case where a listview (with the use of its on click action) inside of the Dropdown Container widget would meet our clients needs. Thanks!

JelteMX commented 4 years ago

Upgrade to at least 8.10 / 8.11 and it should be possible to use that in this widget

bartheijs commented 4 years ago

Thanks for the quick reply.

I tried in 8.11.1 and 8.14.0 and doesn't seem to work. Or it's me not completely understanding the way to implement the widget.

image

image

image

bartheijs commented 4 years ago

Hi Jelte,

just to manage expectations, do you think you can have a look in the near future?

Am I doing something wrong or is there some work to be done on the widget?

Otherwise I'll use the DropdownDivConverter.

Thanks!

Gr,

Bart

JelteMX commented 4 years ago

Hi @bartheijs,

It seems Mendix still doesn't support some of the widget types inside a widgets property, as can be read here: https://docs.mendix.com/apidocs-mxsdk/apidocs/property-types-pluggable-widgets#widgets.

So for now you might have to go back to the DropdownDivConverter