-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTODO
37 lines (30 loc) · 1.01 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Check uid on cloning
Tests for Form::Data::Processor::Field::clear_empty
Tests for Form::Data::Processor::Field::Repeatable
Tests for actions
POD: add info for read only attributes
POD: Form::Data::Processor::Role::Fields add info about has_errors vs num_errors
I hate FDP::Field::Repeatable/fallback!
Have an idea.
For each field there are should exist prototypes.
And $field->attr actually should do $field->proto->attr
Add actions namespace
FDP::Actions
trim
lc
uc
extends 'FDP::Form';
has '+actions_namespace" => (
default => [
'+My::Actions', # For My::Actions
'My', # For FDP::Actions::My
]
);
has_field 'allowed_email' => (
apply => [
{ input_transform => 'trim' },
{ check => 'email' },
{ check => 'domain_blacklisted', args => [ 'mailinator.com', 'blacklisted.ru ] },
{ transform => 'do_transform', args => [ 'with, 'args' ] },
]
);