Ga naar hoofdinhoud

CnSavedViewEditDialog

Rename an own saved view and, when asked, replace its criteria with the filters, search and sort the list shows now. Opened by CnIndexPage from the Edit entry of CnSavedViewsControl.

PropTypeDefaultDescription
viewObject{}The view being edited; its name fills the field.
dialogTitleString''Dialog title; empty reads "Edit view: {name}".
savedSummaryString''What the view holds now, shown under "Keep what is saved" in the board look.
currentSummaryString''What the list shows now, shown under "Replace with …" in the board look.
EventPayloadDescription
confirm{ name, replaceCriteria }Save clicked with a non-empty name.
closenoneDialog dismissed.

Call setError(message) on the ref after a refused save: the form stays open with the message.

The dialog renders through CnDialog: under the board look it is the board dialog (board header, round close button) and takes the shared dialog props look, width, eyebrow and subtitle.