ui-select icon indicating copy to clipboard operation
ui-select copied to clipboard

can we have new release with no-choice?

Open IvanCoronado opened this issue 10 years ago • 13 comments

You have a cool feature in master ui-select-no-choice, can we have a new release with this feature?

IvanCoronado avatar Apr 26 '16 07:04 IvanCoronado

+1

Grade avatar May 05 '16 15:05 Grade

Also ui-select-no-choice is working only with bootstrap theme. Can we include the same for selectize and select2 themes?

siva-I avatar May 05 '16 21:05 siva-I

@khanhto Could you please advise if this feature can be expanded to selectize and select2 themes?

siva-I avatar May 05 '16 21:05 siva-I

This should have been released as part of v0.17.0 but I believe the npm version was still outdated.

This should be released as of now (v0.17.1)

user378230 avatar May 16 '16 19:05 user378230

Worked for anyone? here is still not showing anything.

santosguilherme avatar May 17 '16 11:05 santosguilherme

Working for me. Try to download new release v0.17.1

Grade avatar May 17 '16 11:05 Grade

I have already downloaded this version, the directive "uiSelectNoChoice" is in file "dist/select.js", but when the search returns no results, it does not appear.

<ui-select ng-model="elementExtensions.ator" theme="bootstrap" fix-focus-ui-select> <ui-select-match allow-clear="true" placeholder="{{::'TYPE_FOR_SEARCH' | translate}}"> {{$select.selected.name}} </ui-select-match> <ui-select-choices refresh="loadAsyncActors($select.search)" refresh-delay="300" repeat="actor in actorPropertyViewControl.availableActors"> <div ng-bind-html="actor.name | highlight: $select.search"></div> </ui-select-choices> <ui-select-no-choice> Dang! We couldn't find any choices... </ui-select-no-choice> </ui-select>

HTML: selecao_014

santosguilherme avatar May 17 '16 11:05 santosguilherme

Doesn't work with ui-select add no-choice, plunker link.

santosguilherme avatar May 17 '16 12:05 santosguilherme

@Grade, can you post your code?

santosguilherme avatar May 17 '16 12:05 santosguilherme

I tried. But it doesn't work in plunker as well. But it works when I just run it in browser (Chrome, Firefox)

Grade avatar May 17 '16 13:05 Grade

Plunker example also doens't run here :/

santosguilherme avatar May 17 '16 13:05 santosguilherme

@santosguilherme I have been busy these days and that pull request was created very long ago (nearly a year). At that time, it was working properly. I'm not sure if it's still working today. I'll check it when I have time.

khanhto avatar May 19 '16 13:05 khanhto

@siva-I sorry for the late reply, this feature should be fairly easy to be extended to selectize and select2 themes, but I'm not sure when I'll get back to this.

khanhto avatar May 19 '16 13:05 khanhto