2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-12-18 18:28:18 +00:00

[build order] Auto select SN (#10110)

* Add build output information

* Auto-allocate tracked items

* Add playwright testing for workflow

* Fix display issue when creating new build output
This commit is contained in:
Oliver
2025-08-01 13:23:57 +10:00
committed by GitHub
parent 4895370d0d
commit 37c0322365
7 changed files with 123 additions and 6 deletions

View File

@@ -57,6 +57,7 @@ export type ApiFormFieldHeader = {
* @param preFieldContent : Content to render before the field
* @param postFieldContent : Content to render after the field
* @param autoFill: Whether to automatically fill the field with data from the API
* @param autoFillFilters: Optional filters to apply when auto-filling the field
* @param onValueChange : Callback function to call when the field value changes
* @param adjustFilters : Callback function to adjust the filters for a related field before a query is made
* @param adjustValue : Callback function to adjust the value of the field before it is sent to the API
@@ -106,6 +107,7 @@ export type ApiFormFieldType = {
preFieldContent?: JSX.Element;
postFieldContent?: JSX.Element;
autoFill?: boolean;
autoFillFilters?: any;
adjustValue?: (value: any) => any;
onValueChange?: (value: any, record?: any) => void;
adjustFilters?: (value: ApiFormAdjustFilterType) => any;