mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-31 04:33:40 +00:00
chore: Add tests and fix tests. Remove validation for types not seeable
This commit is contained in:
@@ -41,7 +41,7 @@ export class List<A extends ValueSpecList> extends IBuilder<A> {
|
||||
maxLength?: number | null;
|
||||
patterns: Pattern[];
|
||||
/** Default = "text" */
|
||||
inputmode?: ListValueSpecText["inputmode"];
|
||||
inputMode?: ListValueSpecText["inputMode"];
|
||||
},
|
||||
) {
|
||||
const spec = {
|
||||
@@ -50,7 +50,7 @@ export class List<A extends ValueSpecList> extends IBuilder<A> {
|
||||
minLength: null,
|
||||
maxLength: null,
|
||||
masked: false,
|
||||
inputmode: "text" as const,
|
||||
inputMode: "text" as const,
|
||||
...aSpec,
|
||||
};
|
||||
return new List({
|
||||
|
||||
Reference in New Issue
Block a user