- it is input component for simpleapp-genetor generated frontend object
- SimpleAppForm connect to document (DTO), and input element connect to fieldsetting and thats it.
- all the component extends from primevue inputs.
Example:
<template>
<SimpleAppForm :document="person" #default="o">
<SimpleAppText :setting="o.getField('#/properties/name')" v-model="data.name"/>
<SimpleAppHobbies :setting="o.getField('#/properties/hobbies')" v-model="data.hobbies"/>
<SimpleAppNumber :setting="o.getField('#/properties/age')" v-model="data.age"/>
</SimpleAppForm>
<button @click="person.create()"></button>
</template>
<script setup lang="ts">
import {Person} from './server/docs/PersonDoc' // frontend object generated by simpleapp-generator
const person = new Person()
const data = person.getReactiveData()
</script>
- SimpleAppAutocomplete
- SimpleAppAutocompletemulti
- SimpleAppCalendar
- SimpleAppCheckbox
- SimpleAppChip
- SimpleAppColor
- SimpleAppEditor
- SimpleAppForm
- SimpleAppList 10.SimpleAppListmulti 11.SimpleAppNumber 12.SimpleAppPassword 13.SimpleAppRadio 14.SimpleAppRating 15.SimpleAppSelect 16.SimpleAppSelectmulti 17.SimpleAppSlider 18.SimpleAppSwitch 19.SimpleAppText 20.SimpleAppTextarea 21.SimpleAppReaonly Value, or container of parent object 22.SimpleAppField Container
supported format: ajv addon: field-autocomplete-code field-autocomplete-name x-text x-html x-foreignkey
- currently validation error only can capture at top level, need way to allocate path instance into nested fields, or array
- default width of each component not yet settle
- calendar seems have bugs
- not yet have way to handle tables
- autocomplete remote source not yet improve
- error handles from remote not yet bind back
- errors need toast or what. sometimes hidden component error
- auto define capital letter title from field
- allow input inline record easily
- allow input with popup
- allow search record
- support i18n
- support nested fields like name.firstname
- able to bind instancePath
need full qc again
need full qc again