---
auto_fieldset: 1

elements:
  - type: Hidden
    name: id
  
  - type: Repeatable
    nested_name: addresses
    counter_name: count
    model_config:
      empty_rows: 0
    
    elements:
      - type: Hidden
        name: id
      
      - type: Text
        name: address
  
  - type: Hidden
    name: count
  
  - type: Submit
    name: submit
