Demo

Edit drawer with unsaved changes

Documented in Form.

Edit drawer with unsaved changes

An order editor in a Drawer built on useFormState - Save and Discard appear only while the form is dirty, closing a dirty form asks through useConfirm, required labels carry a mark, and statuses show as status dot badges.

OrderCustomerStatusActions
ORD-1042Ada LovelacePaid
ORD-1043Grace HopperPending