calebgrove / select-a-structure

A select field for Kirby populated by a structure field.
43 stars 7 forks source link

Allow multiple fields in optionkey #10

Open mciszczon opened 6 years ago

mciszczon commented 6 years ago

This PR allows multiple fields values in optionkey, as mentioned in #9. It also introduces new blueprint option of optiondivider that allows one to set a custom divider between these fields.

calebgrove commented 6 years ago

Thanks! I’m out of the office right now, but I’ll check this over as soon as I can.

mciszczon commented 6 years ago

b8432b0 fixes a bug, where I tested string values with isEmpty(), thus getting an error. Sorry for the additional commits, had some inconsistencies on my local copy and that's what you get.