基于Vue/Vue3,Json Schema 和 ElementUi/antd/iview3/naiveUi 等生成 HTML Form 表单,用于活动编辑器、h5编辑器、cms等数据配置;支持可视化生成表单Schema 。 Generate a form using Vue/Vue3, Json Schema and ElementUi/antdv/iview3/naiveUi
Hi, i'm working on Vue3 with NaiveUI.
I'd like to customize the data loaded inside n-select using disabled and color property like this:
The photo above is an example from NaiveUI doc.
I'm loading data inside schema in this way:
const commonPath = schemaFactory.value.definitions.catalogStand.properties.catalogData
// Data loading
for (let i = 0; i < resultStands.length; i++) {
commonPath.enum[i + 1] = resultStands[i].id
commonPath.enumNames[i + 1] = resultStands[i].name
}
resultStand contains all the data retrieved from microservice.
Is there any way to add ui properties to certain element of dropdown?
Hi, i'm working on Vue3 with NaiveUI. I'd like to customize the data loaded inside n-select using disabled and color property like this: The photo above is an example from NaiveUI doc.
I'm loading data inside schema in this way:
resultStand contains all the data retrieved from microservice.
Is there any way to add ui properties to certain element of dropdown?
Thanks!