Save Bar

Unsaved changes

Attribute Type Documentation Default Value
Required id * :string
Required form * :string

id of the form Save submits

show :boolean

true while the page has unsaved changes

false
message :string "Unsaved changes"
save_label :string "Save"
saving_label :string

button text while the save is in flight

discard_label :string "Discard"
on_discard :any

event name or Phoenix.LiveView.JS; no button without it

class :any
rest :global