Skip to content

confirm #4

@humphreyja

Description

@humphreyja

Need to add to the vue-input components. Actually, we could create a computed interface that allows someone to add the ability to a component really fast. So something like this

Vue.extend({
mixing: [App.ui.computedInterfaces.std.confirm('myValue')],
data: function() {
  return {
    myValue: 0
  }
}
});
<custom-component confirm="my confirm message"></custom-component>

This will listen for changes to the myValue attribute, if it changes it will ask to confirm that change. If they say no, then revert the change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions