Some checks failed
CI / Lint (bash) (push) Has been cancelled
CI / Lint (markdown) (push) Has been cancelled
CI / Lint (nickel) (push) Has been cancelled
CI / Lint (nushell) (push) Has been cancelled
CI / Lint (rust) (push) Has been cancelled
CI / Code Coverage (push) Has been cancelled
CI / Test (macos-latest) (push) Has been cancelled
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / Build (macos-latest) (push) Has been cancelled
CI / Build (ubuntu-latest) (push) Has been cancelled
CI / Build (windows-latest) (push) Has been cancelled
CI / Benchmark (push) Has been cancelled
CI / Security Audit (push) Has been cancelled
CI / License Compliance (push) Has been cancelled
Add display_mode, searchable, min_selected, and max_selected fields to all FieldDefinition struct initializers across core library and tests.
Basic Forms
Simple form examples for getting started with typedialog.
Files
- form.toml - Minimal form structure
- form_with_sections.toml - Organizing fields into sections
- form_with_grouped_items.toml - Grouping related fields
- base_from.toml - Base template for extending forms
- debug_simple.toml - Simple form for testing/debugging
Usage
CLI Backend
cargo run --example form
TUI Backend
cargo run -p typedialog-tui --example tui_survey_form
Web Backend
Build your form in TOML and serve with the web backend:
cargo run -p typedialog-web -- --config form.toml
Features Demonstrated
- Basic field definitions
- Sections and grouping
- Simple validation
- TOML syntax basics