File: belongs_to_lookup_table_combobox.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 (21 lines) | stat: -rw-r--r-- 369 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
---
auto_fieldset: 1

elements:
  - type: Hidden
    name: id

  - type: Text
    name: text_col

  - type: ComboBox
    name: type
    # set this, so options_from_model() populates the menu,
    # so we can test the correct default is set
    model_config:
        resultset: Type
        select_column: id
        text_column: type

  - type: Submit
    name: submit