The user cancelled: Cancel, Esc, the backdrop or the close button.
The trimmed name, when the user clicks Create or presses Enter. The dialog stays open.
The label of the confirm button.
The longest name accepted: the MaxLength of MJ: Dashboards.Name.
The name in the field.
The placeholder of the name field.
True while the host creates the dashboard: Create shows a spinner, and the dialog cannot be changed or closed.
The dialog title.
True when the trimmed name has 1 to MaxLength characters and nothing is being created.
Shows the dialog. Each time it opens, the name field starts empty.
mj-dashboard-name-dialog — asks for the name of a new dashboard before it is created.
Create stays disabled until the trimmed name has 1 to MaxLength characters. Create, or Enter in the field, emits
Confirmedwith the trimmed name and leaves the dialog open: the host creates the dashboard, setsProcessingmeanwhile, and closes the dialog throughVisible. Cancel, Esc, the backdrop and the close button emitCancelled; the host closes the dialog and creates nothing.Example