You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+31-16Lines changed: 31 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,16 @@
1
1
# Formkit - Primevue
2
2
3
-
PrimeVue based formkit inputs for using [FormKit](https://formkit.com/) with the [PrimeVue UI Framework](https://www.primefaces.org/primevue/#/).
3
+
PrimeVue based [FormKit Inputs](https://sfxcode.github.io/formkit-primevue/guide/inputs.html) for using [FormKit](https://formkit.com/) with the [PrimeVue UI Framework](https://www.primefaces.org/primevue/#/).
4
4
5
5
Main focus of this project is to provide configuration based forms with validation.
6
6
7
+
In addition, you can use the same pattern for **data output** from **schema** using [PrimeOutputs](https://sfxcode.github.io/formkit-primevue/guide/outputs.html).
8
+
7
9
## PrimeVue Versions
8
10
9
-
Actual PrimeVue Version in the main branch is *4.x.*
11
+
Actual PrimeVue Version of the main branch is *4.x.*
10
12
11
-
PrimeVue 3 is in the prime3 branch.
13
+
PrimeVue 3 is in the prime3 branch, but future development will only focus on PrimeVue 4
Important: output elements depends on vue-i18n to style numbers, dates, ...
54
+
37
55
### Nuxt
38
56
39
-
Important: use *autoimport: false* if using primevue formkit validation and include or
57
+
Important: use *autoimport: false* if using PrimeVue-FormKit validation and include or
40
58
exclude not needed components as usual.
41
59
42
60
Autoimport true prevents elements lookup correctly.
@@ -72,7 +90,7 @@ Prefixing of the PrimeVue component names is not supported.
72
90
73
91
### Basic Styling
74
92
75
-
Basic styling is provided with the [formkit-primevue.scss](https://github.com/sfxcode/formkit-primevue/blob/main/src/sass/formkit-primevue.scss) file.
93
+
Basic styling is provided with the [formkit-primevue.scss](https://github.com/sfxcode/formkit-primevue/blob/main/src/sass/formkit-primevue.scss) file or the corresponding css file in the package.
76
94
77
95
Features:
78
96
@@ -84,20 +102,20 @@ You can use it or take it as base for your own styling.
84
102
85
103
### Extended Styling
86
104
87
-
- All inputs are wrapped in a div with a **p-formkit** class
88
-
- Use *wrapperClass* to add additional styleclasses to wrapper div
89
-
- Most Prime Components have access to class / styles attributes
90
-
- Most Prime Components have access to class / styles attributes
105
+
- Styling outerClas, innerClass .... is provided by FormKit
106
+
- All inputs, outputs are wrapped in a div with a **p-formkit** class
107
+
- Most of the Prime Input Components have access to class / styles attributes
91
108
- PT and PTOptions are available ([https://primevue.org/passthrough/](https://primevue.org/passthrough/))
92
109
-[Styling](https://formkit-primevue.netlify.app/styling/base) and [PT](https://formkit-primevue.netlify.app/styling/passThrough) demo available
110
+
-[Grid](https://formkit-primevue.netlify.app/styling/grid) Demo of the provided grid styling (col-[1-12])
93
111
94
112
### Samples
95
113
96
114
Some samples for common tasks are available
97
115
98
-
-[Repeater](https://formkit-primevue.netlify.app/samples/repeater)(with the help of the useFormKitSchema composable)
0 commit comments