Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
MKCLOS
Core Development Platform
TemplateProjects
FullstackTemplate-Formkit-Tailwind
Commits
149b0824
Commit
149b0824
authored
1 year ago
by
Somnath Ghorpade
Browse files
Options
Downloads
Patches
Plain Diff
updated daisyUI package.
parent
6120c98f
Branches
Abdul_UI_TailwindCssFixes
Tags
Tags containing commit
1 merge request
!9
TOTP Feature is added in fullstack.
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/package.json
+1
-1
app/package.json
app/src/views/FormKitCustomComposition.vue
+62
-39
app/src/views/FormKitCustomComposition.vue
with
63 additions
and
40 deletions
app/package.json
+
1
−
1
View file @
149b0824
...
...
@@ -17,7 +17,7 @@
"axios"
:
"^0.21.1"
,
"core-js"
:
"^3.24.1"
,
"crypto-js"
:
"^3.1.9-1"
,
"daisyui"
:
"^
2.5
1.6"
,
"daisyui"
:
"^
3.
1.6"
,
"fs-extra"
:
"^11.1.1"
,
"material-design-icons"
:
"^3.0.1"
,
"pinia"
:
"^2.1.3"
,
...
...
This diff is collapsed.
Click to expand it.
app/src/views/FormKitCustomComposition.vue
+
62
−
39
View file @
149b0824
<
script
setup
>
// Formkit with composition API
// Formkit with composition API
import
{
ref
}
from
"
vue
"
;
import
{
createInput
}
from
"
@formkit/vue
"
;
import
Multiselect
from
"
@/components/multiselect.vue
"
;
import
dateRangePickr
from
"
@/components/date-range-pickr.vue
"
;
import
{
ref
}
from
"
vue
"
import
{
createInput
}
from
"
@formkit/vue
"
import
Multiselect
from
"
@/components/multiselect.vue
"
import
dateRangePickr
from
"
@/components/date-range-pickr.vue
"
const
multiselect
=
createInput
(
Multiselect
)
;
const
dateRangePickrC
=
createInput
(
dateRangePickr
)
;
const
values
=
ref
({})
;
const
multiselect
=
createInput
(
Multiselect
)
const
dateRangePickrC
=
createInput
(
dateRangePickr
)
const
values
=
ref
({})
</
script
>
<
template
>
<div
id=
"masterAxios"
class=
"box-wrapper"
>
<h2
class=
"mb-8 flex flex-row items-center text-xl font-semibold"
>
<i
class=
"isax isax-bold-arrow-left-2 me-2"
@
click=
"$router.go(-1)"
></i>
Dashboard
</h2>
<div
class=
"mx-auto w-1/2"
>
<div
class=
"card p-8"
>
<FormKit
type=
"form"
v-model=
"values"
>
<FormKit
:type=
"multiselect"
label=
"Multiple Data Select"
validation=
"required"
validation-visibility=
"live"
:wrapper-class=
"
{ $reset: true, 'w-full': true }"
outer-class="$reset mx-auto"
>
</FormKit>
<FormKit
:type=
"dateRangePickrC"
label=
"Date Range Select"
validation=
"required"
validation-visibility=
"live"
:wrapper-class=
"
{ $reset: true, 'w-full': true }"
outer-class="$reset my-4"
>
</FormKit>
<div
class=
"my-4"
>
{{
values
}}
</div>
</FormKit>
</div>
</div>
</div>
<div
id=
"masterAxios"
class=
"box-wrapper"
>
<h2
class=
"mb-8 flex flex-row items-center text-xl font-semibold"
>
<i
class=
"isax isax-bold-arrow-left-2 me-2"
@
click=
"$router.go(-1)"
></i>
Dashboard
</h2>
<div
class=
"mx-auto w-1/2"
>
<div
class=
"card p-8"
>
<FormKit
type=
"form"
v-model=
"values"
>
<FormKit
:type=
"multiselect"
label=
"Multiple Data Select"
validation=
"required"
validation-visibility=
"live"
:wrapper-class=
"
{ $reset: true, 'w-full': true }"
outer-class="$reset mx-auto"
>
</FormKit>
<FormKit
:type=
"dateRangePickrC"
label=
"Date Range Select"
validation=
"required"
validation-visibility=
"live"
:wrapper-class=
"
{ $reset: true, 'w-full': true }"
outer-class="$reset my-4"
>
</FormKit>
<div
class=
"my-4"
>
{{
values
}}
</div>
</FormKit>
</div>
<div
class=
"card p-8"
>
<div
class=
"collapse collapse-arrow bg-base-200"
>
<input
type=
"radio"
name=
"my-accordion-2"
checked=
"checked"
/>
<div
class=
"collapse-title text-xl font-medium"
>
Click to open this one and close others
</div>
<div
class=
"collapse-content"
>
<p>
hello
</p>
</div>
</div>
<div
class=
"collapse collapse-arrow bg-base-200 my-2"
>
<input
type=
"radio"
name=
"my-accordion-2"
/>
<div
class=
"collapse-title text-xl font-medium"
>
Click to open this one and close others
</div>
<div
class=
"collapse-content"
>
<p>
hello
</p>
</div>
</div>
<div
class=
"collapse collapse-arrow bg-base-200"
>
<input
type=
"radio"
name=
"my-accordion-2"
/>
<div
class=
"collapse-title text-xl font-medium"
>
Click to open this one and close others
</div>
<div
class=
"collapse-content"
>
<p>
hello
</p>
</div>
</div>
</div>
</div>
</div>
</
template
>
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets