nuPickers icon indicating copy to clipboard operation
nuPickers copied to clipboard

enable DropDown Picker to support Custom Labels

Open Hendy opened this issue 11 years ago • 6 comments

Add the ability for the DropDown Picker to render custom markup - is there a preferred custom drop down to use ?

Hendy avatar Jun 18 '14 21:06 Hendy

I've seen Chosen being used quite often - it doesn't deviate too much from a standard select and it does incremental search/autocomplete. Might be an option?

greystate avatar Jun 23 '14 10:06 greystate

Hi @greystate reckon this is still the library to use ?

Hendy avatar Feb 06 '16 10:02 Hendy

I'd say yes - it looks a lot like e.g. the DatePicker used in Umbraco, so should feel "at home" :-)

greystate avatar Feb 06 '16 10:02 greystate

Hi , I might be on the wrong forum and asking this question. But i have got to ask you guys, since you are backbone of this source code. I have been trying to figure out why my code is not working, i have tried the wiki documentaion and i still do not understand why a simple DotNet source nupicker is not loading anything in my Document Type.

I have posted the question on forum and still waiting on some answer, without any luck. https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/75376-svg-icons

  1. I have created my Data Type and my IDataNetDataSource is seleted (nuPicker:DotNet Labels)

Everything shows fine.

  1. I add my data type to my Document Type and this works fine too.

3, When i goto my content page and edit the page my data type is blank and only shows the label from my document type.

I dont get it...

tajamal avatar Feb 28 '16 23:02 tajamal

Hi @tajamal,

Unfortunately I don't think I understand your question.

You have it all working with 'nuPickers: DotNet Labels', but you'd like to use a nuPickers: DropDown Picker ? if this is the case, then unfortunately the DropDown Picker doesn't yet support Custom Labels - can you use a 'nuPickers: RadioButton Picker' instead ?

The best place to post this question would be on the nuPickers forum on Our as more people are likely to see it there.

Thanks, Hendy

Hendy avatar Feb 29 '16 17:02 Hendy

Hi @Hendy

I wanted to add predefined collection of images (SVG) to a page and ran into problems. I was debugging but couldn't catch any errors. But i figured it out later that my code wasn't working and was failing.

I used following example code : https://github.com/uComponents/nuPickers/wiki/Data-Source-DotNet and created a Macro.

I then tried to create a dictionary and load all images from my directory. My page is still not showing anything, and i am not sure if this is the way to do go.

The wiki documention is great that it's there, maybe you should also add a couple of examples in a blog or something. For me it is little confusing jumping around the menu and trying different options to get the right solution.

Though I will post my question on nuPickers forum and hope someone can help me there,

Thanks Tajamal

tajamal avatar Mar 01 '16 11:03 tajamal