Merge branch 'next/major' of github.com:Start9Labs/start-os into feature/start-tunnel

This commit is contained in:
Aiden McClelland
2025-10-31 15:42:05 -06:00
7 changed files with 26 additions and 4 deletions

View File

@@ -283,6 +283,8 @@ export class Value<Type extends StaticValidatedAs, StaticValidatedAs = Type> {
warning: null,
minLength: null,
maxLength: null,
minRows: 3
maxRows: 6
immutable: false,
}),
* ```
@@ -296,6 +298,10 @@ export class Value<Type extends StaticValidatedAs, StaticValidatedAs = Type> {
required: Required
minLength?: number | null
maxLength?: number | null
/** Defaults to 3 */
minRows?: number
/** Maximum number of rows before scroll appears. Defaults to 6 */
maxRows?: number
placeholder?: string | null
/**
* @description Once set, the value can never be changed.
@@ -310,6 +316,8 @@ export class Value<Type extends StaticValidatedAs, StaticValidatedAs = Type> {
warning: null,
minLength: null,
maxLength: null,
minRows: 3,
maxRows: 6,
placeholder: null,
type: "textarea" as const,
disabled: false,
@@ -328,6 +336,8 @@ export class Value<Type extends StaticValidatedAs, StaticValidatedAs = Type> {
required: Required
minLength?: number | null
maxLength?: number | null
minRows?: number
maxRows?: number
placeholder?: string | null
disabled?: false | string
}>,
@@ -341,6 +351,8 @@ export class Value<Type extends StaticValidatedAs, StaticValidatedAs = Type> {
warning: null,
minLength: null,
maxLength: null,
minRows: 3,
maxRows: 6,
placeholder: null,
type: "textarea" as const,
disabled: false,

View File

@@ -61,6 +61,8 @@ export type ValueSpecTextarea = {
placeholder: string | null
minLength: number | null
maxLength: number | null
minRows: number
maxRows: number
required: boolean
disabled: false | string
immutable: boolean