uComponents / nuPickers

nuPickers is a collection of Umbraco v7 Property Editors
MIT License
64 stars 58 forks source link

enable DropDown Picker to support Custom Labels #11

Open Hendy opened 10 years ago

Hendy commented 10 years ago

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

greystate commented 10 years ago

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?

Hendy commented 8 years ago

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

greystate commented 8 years ago

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

tajamal commented 8 years ago

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...

Hendy commented 8 years ago

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

tajamal commented 8 years ago

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