Form editor v2 (#579)

* Form editor v2

* fix template test

* setFormDefaults when save

* fix form cleaning dark mode

* improvements on open sidebar

* UI polish

* Fix change type button

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
Chirag Chhatrala
2024-09-23 23:32:38 +05:30
committed by GitHub
parent 47ae11bc58
commit d6181cd249
61 changed files with 2576 additions and 2661 deletions

View File

@@ -0,0 +1,30 @@
<template>
<div class="mb-8 flex">
<div class="w-1/3 pr-8">
<h3 class="text-lg font-semibold mb-1">
{{ title }}
</h3>
<p class="text-sm text-gray-500">
{{ description }}
</p>
</div>
<div class="w-2/3">
<UCard class="divide-y divide-gray-200">
<slot />
</UCard>
</div>
</div>
</template>
<script setup>
defineProps({
title: {
type: String,
required: true
},
description: {
type: String,
required: true
}
})
</script>