Ensure checkboxes without explicit values render no `value` attribute in the DOM (#3554)
* Fix undefined value being passed to checkbox
* Add tests for default checkbox values
* add test to switch as well
* Update packages/@react-aria/toggle/src/useToggle.ts
Ensure `null` values are ignored as well as `undefined` ones.
Co-authored-by: Daniel Lu <dlu@livefyre.com>
Co-authored-by: Rob Snow <rsnow@adobe.com>
Co-authored-by: Daniel Lu <dlu@livefyre.com>