ensemble icon indicating copy to clipboard operation
ensemble copied to clipboard

Dropdown Bugs

Open sharjeelyunus opened this issue 11 months ago • 4 comments

  1. Autocomplete doesn't work with itemTemplate
  2. If autoComplete is true, value isn't working
  3. without autoComplete, the selected text overflows

image

sharjeelyunus avatar Mar 07 '24 05:03 sharjeelyunus

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

sharjeelyunus avatar Mar 07 '24 16:03 sharjeelyunus

@hemish11 any update here? this is showing in progress, are you working on it?

kmahmood74 avatar Mar 13 '24 14:03 kmahmood74

@hemish11 ?

kmahmood74 avatar Mar 24 '24 15:03 kmahmood74

Include this as well https://github.com/EnsembleUI/ensemble/issues/1342

CC: @hemish11

sharjeelyunus avatar Mar 27 '24 17:03 sharjeelyunus