Welcome to the ChampionForms documentation! This directory contains comprehensive guides and references for building forms with ChampionForms.
- Main README - Quick start, installation, and basic usage
- CHANGELOG - Version history and release notes
- Compound Fields Guide - Reusable composite fields (NameField, AddressField, custom fields)
- Custom Field Cookbook - Practical examples for creating custom fields
- FieldBuilderContext API Reference - Complete API documentation for the context class
- StatefulFieldWidget Guide - Building custom fields with the base class
- Converters Guide - Type conversion mixins for field values
- Migration Guide: v0.3.x → v0.4.0 - Upgrading to namespace-based API
- Migration Guide: v0.5.x → v0.6.0 - Upgrading to simplified custom field API
- Form Controller - State management and controller methods (Coming Soon)
- Field Types - Built-in field types and their properties (Coming Soon)
- Validation - Validation system and built-in validators (Coming Soon)
- Theming Guide - Customizing form appearance (Coming Soon)
- Custom Themes - Creating and applying themes (Coming Soon)
- Start with the Main README for installation and basic usage
- Learn about Compound Fields for reusable field groups (NameField, AddressField)
- Review Field Types to understand available widgets (Coming Soon)
- Explore Custom Field Cookbook for advanced use cases
- Read First: Migration Guide: v0.5.x → v0.6.0
- Review Custom Field Cookbook for updated examples
- Reference FieldBuilderContext API for new API
- Compound Fields Guide - Complete guide to using and creating compound fields
- Try the interactive demo in the example app
- Review built-in examples: NameField and AddressField
- Custom Field Cookbook - Start here with practical examples
- StatefulFieldWidget Guide - Learn the base class pattern
- FieldBuilderContext API Reference - Deep dive into the context API
- Converters Guide - Type conversion patterns
ChampionForms v0.6.0 introduces Compound Fields and dramatically simplifies custom field creation by reducing boilerplate from 120-150 lines to 30-50 lines (60-70% reduction).
- Compound Fields: Reusable composite fields (NameField, AddressField) with automatic ID prefixing and controller transparency
- FieldBuilderContext: Bundles 6 parameters into one clean context object
- StatefulFieldWidget: Abstract base class with automatic lifecycle management
- Converter Mixins: Reusable type conversion logic
- Simplified FormFieldRegistry: Static registration methods
See the v0.6.0 Migration Guide for details.
Contributions are welcome! If you find errors in the documentation or have suggestions for improvements, please open an issue or pull request on GitHub.
ChampionForms is released under the MIT License. See LICENSE for details.