|
| 1 | +[](https://travis-ci.org/JelteMX/mendix-dropdown-container) |
| 2 | +[]([https://david-dm.org/JelteMX/mendix-dropdown-container](https://david-dm.org/JelteMX/mendix-dropdown-container)) |
| 3 | +[]([https://david-dm.org/JelteMX/mendix-dropdown-container?type=dev](https://david-dm.org/JelteMX/mendix-dropdown-container?type=dev)) |
| 4 | +[-orange.svg)](https://docs.mendix.com/developerportal/app-store/app-store-content-support) |
| 5 | +[](https://appstore.home.mendix.com/link/modeler/) |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | +# Dropdown Container |
| 10 | + |
| 11 | +Add Mendix elements to a dropdown container. Heavily based on [DropDownDivConverter](https://appstore.home.mendix.com/link/app/2089/), but an offline-capable pluginwidget that does it right. See it [in action here](https://dropdownpluginwidg-sandbox.mxapps.io)! |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | +From Mendix 8.2.x and upwards it is possible to to add standard Mendix components to widgets. This Dropdown Container will behave as a dropdown button, but you can model the inside of the container using Mendix Studio Pro. |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | +## Features |
| 20 | + |
| 21 | +- Put Mendix elements in a dropdown |
| 22 | +- Split button, have an action button next to a dropdown indicator |
| 23 | +- Button text is a dynamic text, you can use a text template (and attributes from your context) |
| 24 | +- Standard Bootstrap styles (colors, sizes) |
| 25 | + |
| 26 | +## Limitations |
| 27 | + |
| 28 | +- In Mendix 8.2.2 it is not possible to use a snippet inside the dropdown container. **This is currently a limitation in the platform, not the widget.** |
| 29 | +- It is not (yet) possible to model the content of the widget in Mendix Studio. This will hopefully be fixed in the future. |
| 30 | + |
| 31 | +## Usage |
| 32 | + |
| 33 | +Place the widget inside or outside a context object, based on if you need this for your buttonn text. |
| 34 | + |
| 35 | +### General |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | +- Button text is dynamic, meaning you can use attributes from a context object |
| 40 | +- You can add a glyphicon to the left |
| 41 | + |
| 42 | +### Appearance |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | +### Split button |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | +- If you would like to add an extra action to the dropdown, you can use a Split button. |
| 51 | + |
| 52 | +## Demo project |
| 53 | + |
| 54 | +Test-project can be found here: [https://dropdownpluginwidg-sandbox.mxapps.io](https://dropdownpluginwidg-sandbox.mxapps.io) |
| 55 | + |
| 56 | +## Issues, suggestions and feature requests |
| 57 | + |
| 58 | +Please report your issues/suggestions [here](https://github.com/JelteMX/mendix-dropdown-container/issues) |
| 59 | + |
| 60 | +## License |
| 61 | + |
| 62 | +Apache 2 |
0 commit comments