-export interface RegisterClientFormFieldOptions {
- name: string
- label: string
- type: 'input' | 'input-checkbox' | 'input-password' | 'input-textarea' | 'markdown-text' | 'markdown-enhanced'
+export type RegisterClientFormFieldOptions = {
+ name?: string
+ label?: string
+ type: 'input' | 'input-checkbox' | 'input-password' | 'input-textarea' | 'markdown-text' | 'markdown-enhanced' | 'select' | 'html'
+
+ // For select type
+ options?: { value: string, label: string }[]
+
+ // For html type
+ html?: string
descriptionHTML?: string