diff --git a/README.md b/README.md index 01edf78..4de3dc9 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ - https://formkit.com/essentials/architecture#getting-a-components-node - https://formkit.com/essentials/architecture#getting-a-components-node#message-store - https://formkit.com/essentials/validation#showing-errors +- https://formkit.com/inputs/form#useformkitcontext --- - https://github.com/formkit/formkit/blob/master/packages/addons/src/plugins/autoHeightTextarea.ts \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index b04e58a..0892139 100644 --- a/src/App.vue +++ b/src/App.vue @@ -48,7 +48,7 @@ const SCHEMA: FormKitSchemaDefinition = [ children: [ { $formkit: 'text', - label: 'JSON Schema’ed Input', + label: 'JSON Schema 渲染的输入框', name: 'input', validation: 'required', validationLabel: 'validationLabel', // validation message 使用顺序:validationLabel > label > name @@ -57,6 +57,7 @@ const SCHEMA: FormKitSchemaDefinition = [ ] } ]; +