BlogPlaygroundOne

VConfirmEdit API


Props
name
type
default
string
'$vuetify.confirmEdit.cancel'

Text for the cancel button

string
undefined

Applies specified color to the control - supports utility colors with or without text- prefix (for example success, purple or text-purple) or CSS color (#033 or rgba(255, 0, 0, 0.5)). Find a list of built-in classes on the colors page.

boolean | ('cancel' | 'save')[]
undefined

Control the disabled state of action buttons. If not provided, internal logic will be used to determine the disabled state.

boolean
false

Prevent showing the default actions buttons. Does not affect <component :is="actions" />

unknown
undefined

Represents the committed v-model value

string
'$vuetify.confirmEdit.ok'

Text for the ok button

Events
name
type
[]

The event emitted when the user clicks the Cancel button

[unknown]

The event emitted when the user clicks the Save button

[unknown]

Event that is emitted when the component’s model changes.

Slots
{ model: Ref<unknown, unknown> save: () => void cancel: () => void isPristine: boolean actions: (props: {}) => VNode< RendererNode, RendererElement, { [key: string]: any } > }

The default Vue slot.

Exposed
() => void
boolean
() => void

Manually cancel the change

Returns true if the input has not been modified in any way.

Manually commit the change