Repository navigation
What's Changed
🚀 New Features
- Photo and Video Fields: Added built-in
PhotoFieldandVideoFieldrenderers with captions, limit display, and camera and library buttons. Capture goes through a newmediaPickerprop onFormRenderer. Without one, the fields show a placeholder, andrenderersoverrides still take precedence (ac5bfad) - Media Picker Integration: Added the
mediaPickeroption, whosepickfunction returns the picked items (or an empty array on cancel) and whose errors are shown under the field. The package adds no camera or photo-library dependency (ac5bfad) - Media Values: Photo and video values use the same entries as
form0-react, withupload_status: 'local', so uploading stays with the app (ac5bfad)
📚 Documentation
- Photo and Video Guide: Added a README section with an
expo-image-pickerexample ofmediaPicker, and removed the old note saying these fields only had placeholder defaults (ac5bfad) - Parity Tracker: Updated
FORM0_REACT_PARITY.mdto listPhotoFieldandVideoFieldas built-in (ac5bfad)
🔧 Maintenance
- Version Bump: Bumped the package version to 0.12.0 (d71e658)
- Tests: Added tests for the media fields and media value helpers (ac5bfad)
Full Changelog: v0.11.0...v0.12.0