Jesús Pérez 6d045d62c9
feat(repeating-groups): implement duplicate detection across all backends
- Fix has_unique flag reading from field definition (was scanning fragment fields)
- Implement duplicate validation in CLI and TUI backends
- Add item counter update in Web backend after add/delete operations
- Refactor Web JavaScript: remove global constants, use closure-based state per group
- Store repeating group config in data-* attributes instead of global variables
- Update documentation and examples with unique = true attribute
- All backends now enforce unique items validation consistently
2025-12-21 11:38:14 +00:00
..
2025-12-18 01:11:17 +00:00

Styling & Custom Appearance

Examples of custom borders, themes, and visual styling.

Files

  • custom_border_form.toml - Custom border definitions
  • fancy_borders_form.toml - Advanced border styling

Usage

CLI Backend

cargo run --example custom_border_form
cargo run --example fancy_borders_form

Web Backend

cargo run -p typedialog-web -- --config custom_border_form.toml

Features Demonstrated

  • Custom border styles
  • Section separators
  • Visual hierarchy
  • Theme customization
  • Character-based borders (for CLI)

Border Options

Borders can use:

  • simple - Basic ASCII borders
  • double - Double-line borders
  • rounded - Rounded corners
  • thick - Thick lines
  • Custom border characters

Example:

[sections.main]
title = "Main Section"
border = "double"