Skip to content

Commit

Permalink
sort option in lookupOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudio Benedetti committed Nov 16, 2022
1 parent 74e6011 commit d362646
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/schemas/date.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
export type DateOptions = {
/** Defines how the date should be displayed in Table | Form | ecc. */
displayFormat?: string

/** Time zone to use in case data is a numeric value */
timeZone?: string
}
3 changes: 3 additions & 0 deletions src/schemas/lookup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ export interface LookupOptions {

/** List of dependencies to other fields in the form. */
lookupDeps?: LookupDeps[]

/** Sorting option used when fetching lookup data. */
sortOption?: string
}

export type LookupData = Record<string, unknown>[]
Expand Down

0 comments on commit d362646

Please sign in to comment.