plomino / plomino.patternslib

A Plomino plugin that provides fields and other form elements built using the Patterns javascript library.
http://plomino.net/
2 stars 10 forks source link

The prompt is hard-coded to "Choose a country..." #3

Open fulv opened 12 years ago

fulv commented 12 years ago

The string is in https://github.com/plomino/plomino.patternslib/blob/master/src/plomino/patternslib/fields/chosen_edit.pt#L20

Maybe we can use the "Dynamic Table Parameters"? Add a new key-value pair to that list?

ebrehault commented 12 years ago

Maybe we could use the filed's description field to provide the data-placeholder value.

The code would be just tal:attributes="data-placeholder field/Description" and it would be quite handy. What do you think ?

By the way, it could be also applied to all the Plomino fields.