improve(plugin): support textarea for settings input item

This commit is contained in:
charlie
2022-07-29 22:44:55 +08:00
committed by Andelf
parent a14b397899
commit 3e7c20fd80
3 changed files with 8 additions and 3 deletions

View File

@@ -232,7 +232,7 @@ export type SettingSchemaDesc = {
default: string | number | boolean | Array<any> | object | null
title: string
description: string // support markdown
inputAs?: 'color' | 'date' | 'datetime-local' | 'range'
inputAs?: 'color' | 'date' | 'datetime-local' | 'range' | 'textarea'
enumChoices?: Array<string>
enumPicker?: 'select' | 'radio' | 'checkbox' // default: select
}