ensemble
ensemble copied to clipboard
Dropdown Bugs
- Autocomplete doesn't work with itemTemplate
- If
autoComplete
is true, value isn't working - without autoComplete, the selected text overflows
invokeAPI:
name: getUniversities
onResponse:
executeCode:
body: |
//@code
var list = [];
response.body.map(function(item) {
list.push({
"label": item.name,
"value": item.id
});
});
universityDropdown.items = list;
- Dropdown:
id: universityDropdown
inputType: phone
label: University
# autoComplete: true
icon:
name: university
library: fontAwesome
value: ${ensemble.storage.UniConnectUser.university_id}
itemTemplate:
data: ${getUniversities.body}
name: university
value: ${university.id}
template:
Text:
text: ${university.name}
styles:
fillColor: 0xFFFDF7FF
focusedBorderColor: 0xFF7A757F
borderColor: 0xFF7A757F
borderWidth: 2
borderRadius: 4
https://uniconnect.prospertech.io/user/universities
@hemish11 any update here? this is showing in progress, are you working on it?
@hemish11 ?
Include this as well https://github.com/EnsembleUI/ensemble/issues/1342
CC: @hemish11