Sorted, thank you very much!
Looks as if we could do with a "use strict" for YAML files, and/or
perhaps better diagnostics from YAML and YAML::Syck.
Lance A. Brown wrote:
> ivorw wrote:
>> - type: Text
>> name: email_address
>> label: Email address
>> constraints:
>>
ivorw wrote:
- type: Text
name: email_address
label: Email address
constraints:
- Email
- Required
# Added below causes a problem
- type Radiogroup
name: active
options:
- [ 0, 'Inactive' ]
- [ 1, 'Active' ]
- [ 2, 'Sus
I'm working on a Catalyst app, and want to have a basic radiogroup.
I've done what it says in the pod, and it's failing:
user.yml
---
indicator: submit
auto_fieldset: 1
elements:
- type: Text
name: first_name
label: Forename
constraints:
- Required
- type: Text