Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

NoResult template #1472

Closed
antonioaltamura opened this issue Mar 2, 2016 · 6 comments
Closed

NoResult template #1472

antonioaltamura opened this issue Mar 2, 2016 · 6 comments

Comments

@antonioaltamura
Copy link

Hi, in my select2 v4 (no angular.js) I had this setting:

domselector.select2(
...
escapeMarkup: function (markup) {
                return markup;
            },
            language: {
                noResults: function() {
                    return 'No results <a href="#">click</a>'
                }
            }
)

How can I set the noResult message in ui-select?

@andrecbr
Copy link

andrecbr commented Mar 3, 2016

+1

@user378230
Copy link
Contributor

Please search before creating new issues.

https://github.com/angular-ui/ui-select/search?q=no+result&type=Issues

Many duplicates #831 #121 and some pull request #1011 #1028. There are probably many others if you search more, I just looked at the first page.

@antonioaltamura
Copy link
Author

Yes, I indeed searched for a solution without luck (all the issues looks unsolved)

@andrecbr
Copy link

andrecbr commented Mar 3, 2016

And about me, I have searched so many problems (this, tagging without multiple in angular 1.5, ...), many tabs opened.. well... I was already tired of looking for solutions and I just saw this topic at the top, so I marked with "+1" sorry :)

sorry my english too :(

@antonioaltamura
Copy link
Author

and about me,i'm just tired of this lack of productivity angular related..

@user378230
Copy link
Contributor

As you can see from linked issues/pull requests there is no existing solution, but you can use code provided in pull requests or check issue comments for workarounds.

Maybe they will help you :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants