Form.IO
Нова структура форм і builder
Корисні посилання
- https://formio.github.io/formio.js/app/builder.html - Builder
- https://help.form.io/userguide/form-building/form-components - Basic Coponent
- https://help.form.io/userguide/form-building/advanced-components - Advanced
- https://help.form.io/userguide/form-building/layout-components - Layout
- https://infinity.500apps.com/forms/builder?p_id=2222&t_id=0&type=multi - Style
- https://docs.google.com/document/d/1Qc3n0Bw01V7uhn5tTfUpd_jNF9PDidk2f_8bSNKscNs/edit#
Schema
{
"components": [
{
"type": "Autocomplete", // type - required
"key": "logsToSign", // field name - required
"label": "Логи, які будуть підписуватись", // field label
"description": "Логи, які будуть підписуватись", // field description
"tooltip": "Логи, які будуть підписуватись", // field tooltip
"validators": [
"required"
],
"multi": "true", // default = false,
"style":{
"labelPosition":"horizontal"
}
}
],
"style": {
"labelPosition": "vertical", // default vertical
"buttonPosition": "bottom-center" //
}
}
https://help.form.io/userguide/form-building/component-settings - INFO
basic props
label: Text Field
placeholder: place
description: '353453'
tooltip: '345345' # info
hideLabel: true
multiple: true
autofocus: true
key: textField
type: textfield
labelPosition: left, top
Components
- https://help.form.io/userguide/form-building/form-components - Basic
- https://help.form.io/userguide/form-building/advanced-components - Advanced
- https://help.form.io/userguide/form-building/data-components - Data
Layout
https://help.form.io/userguide/form-building/layout-components
Text
- Line Text
- Paragraph/Html
- List
- Heading
Скоріш за все одна компонента
Group
- Columns
- Tabs
- Accordion
- Panel
Style
- Size: Mini/Compact
- Theme: Dark, Standrad
TR
- Fieldset: components[] - label, tooltip, description, required, multiple?
- Layout: 1+ Fieldset
- Field v-model
Roadmap
- BI
- Setting
- Edesb
- Old Schema