-
Choose who gave and received the gift, then provide details.
-
+
- {
const firstInput = this.$el.querySelector('button, input, select');
@@ -1103,10 +1356,10 @@ export default class GiftedDialog extends Vue {
}
});
}
-
+
cancel() {
this.visible = false;
-
+
// Restore previous focus
if (this.previousFocus) {
this.previousFocus.focus();
@@ -1124,12 +1377,12 @@ export default class GiftedDialog extends Vue {
validateDescription(description: string): boolean {
// Remove potentially dangerous characters
const sanitized = description.replace(/