Skip to content

Commit c43dbfe

Browse files
committed
docs(readme): add useInputEditorSchema
1 parent be8ff8c commit c43dbfe

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ app.use(plugin, defaultConfig({
2626

2727
[useFormKitSchema](https://github.com/sfxcode/formkit-primevue/blob/main/src/composables/useFormKitSchema.ts) provide functions to simplify the usage of elements, components, lists, ...
2828

29+
[useInputEditorSchema](https://github.com/sfxcode/formkit-primevue/blob/main/src/composables/useInputEditorSchema.ts) provide functions for a component schema generation builder
30+
2931
### Basic Styling
3032

3133
Basic styling is provided with the [formkit-primevue.scss](https://github.com/sfxcode/formkit-primevue/blob/main/src/sass/formkit-primevue.scss) file.

dev/components/demo/PrimeSchemaEditor.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const props = defineProps<{
1313
data: object
1414
}>()
1515
16+
// key is used for reflecting changes to the output - editorDataToSchema will remove schemaResultFormKey from generated schema output
1617
const schemaResultFormKey = ref(0)
1718
1819
const { editorDataToSchema, editorDataToJson, editorDataToCode } = useInputEditorSchema()

0 commit comments

Comments
 (0)