File: has_many_repeatable_new_dependon.yml

package info (click to toggle)
libhtml-formfu-model-dbic-perl 2.03-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,148 kB
  • sloc: perl: 1,429; makefile: 2
file content (32 lines) | stat: -rw-r--r-- 449 bytes parent folder | download | duplicates (3)
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
---
auto_fieldset: 1

elements:
  - type: Hidden
    name: id

  - type: Text
    name: name

  - type: Repeatable
    nested_name: addresses
    counter_name: count
    model_config:
      empty_rows: 2

    elements:
      - type: Hidden
        name: id
        constraints:
            - type: DependOn
              others: address

      - type: Text
        name: address

  - type: Hidden
    name: count

  - type: Submit
    name: submit