Forgot to save file
This commit is contained in:
parent
7db466fc60
commit
d0842d6713
1 changed files with 6 additions and 1 deletions
|
|
@ -42,11 +42,11 @@
|
|||
<script>
|
||||
import buttonMain from "@/ux-components/button-main/button-main";
|
||||
import { Modal } from "bootstrap";
|
||||
import { checkPropertyChange } from "json-schema";
|
||||
|
||||
export default {
|
||||
name: "modal",
|
||||
props: {
|
||||
modalId: String,
|
||||
headerText: String,
|
||||
footerButtonText: String,
|
||||
modalForm: {
|
||||
|
|
@ -56,6 +56,11 @@ export default {
|
|||
type: Function,
|
||||
},
|
||||
},
|
||||
setup() {
|
||||
const modalId = `modal-${crypto.randomUUID()}`;
|
||||
|
||||
return modalId;
|
||||
},
|
||||
methods: {
|
||||
async validateAndEmit() {
|
||||
if (this.modalForm) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue