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>
|
<script>
|
||||||
import buttonMain from "@/ux-components/button-main/button-main";
|
import buttonMain from "@/ux-components/button-main/button-main";
|
||||||
import { Modal } from "bootstrap";
|
import { Modal } from "bootstrap";
|
||||||
|
import { checkPropertyChange } from "json-schema";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "modal",
|
name: "modal",
|
||||||
props: {
|
props: {
|
||||||
modalId: String,
|
|
||||||
headerText: String,
|
headerText: String,
|
||||||
footerButtonText: String,
|
footerButtonText: String,
|
||||||
modalForm: {
|
modalForm: {
|
||||||
|
|
@ -56,6 +56,11 @@ export default {
|
||||||
type: Function,
|
type: Function,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
setup() {
|
||||||
|
const modalId = `modal-${crypto.randomUUID()}`;
|
||||||
|
|
||||||
|
return modalId;
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async validateAndEmit() {
|
async validateAndEmit() {
|
||||||
if (this.modalForm) {
|
if (this.modalForm) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue