Empty selectable field problem
Hi again,
I have been customizing a schema and I'm doing some tests. It seems that is working quite very well but I am having problems for a Selectable field: If there is no choice selected from a selectable field then the following value appears in the field (once I've created a new dataset).
Project-Id-Version: CKAN Report-Msgid-Bugs-To: EMAIL@ADDRESS POT-Creation-Date: 2015-01-26 11:55+0000 PO-Revision-Date: 2015-02-25 10:36+0000 Last-Translator: Adrià Mercader [email protected] Language-Team: Catalan (http://www.transifex.com/projects/p/ckan/language/ca/) Plural-Forms: nplurals=2; plural=(n != 1) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Generated-By: Babel 0.9.6
My dataset configuration is below:
{ "field_name": "city_integration", "label": "Integration", "help_text": "Is integrated in City DB?", "help_inline": true, "preset": "select", "choices": [ { "value": "yes", "label": "Yes" }, { "value": "no", "label": "No" } ] }
And preset configuration is below:
{ "preset_name": "select", "values": { "form_snippet": "select.html", "display_snippet": "select.html", "validators": "scheming_required scheming_choices" } }
What I've made it wrong? May do I should to change the "validators" specified on the preset?
I would appreciate any advice.
Thanks.
That's very strange! I'll see if I can reproduce the error you're seeing.