Duplicate operation allows users to copy a row of data to facilitate creating new data records, supporting two methods: direct duplicate/duplicate to form and continue filling

After completing configuration, click the button to duplicate data
Configured template fields are filled into the form as default values, can be modified and submitted
Current table or child tables can be set as the target table for duplicate addition

Configure template fields: Template fields will be filled into the form as default values, only checked field values will be brought out

"Waybills" (o2m) is the duplicated relationship, adjust its field component to sub-form, can configure fields in sub-form

Sync form fields: After completing form configuration, you can click the sync form fields button, which will automatically parse and check all fields already configured in the form (need to manually sync again after each form field configuration modification). After syncing form fields, you can customize and adjust template fields

Clicking the duplicate operation will open a modal, and bring out template data as form default values according to template fields. You can modify data and submit to complete data duplication

The following complete example configures duplicate operation for order list
Different fields (different relationship types) have different processing logic (duplicate, reference, preload). Adjusting field components of relationship fields will also affect processing logic (Select and Record picker are used to handle reference relationships, Sub-form and Sub-table are used to handle duplicate relationships)
Duplicate
Regular fields are duplicated
Relationship fields of hasOne and hasMany can only be duplicated (i.e., these types of relationship fields cannot use Select, Record picker as field components, should use Sub-form, Sub-table, etc.)
Reference
Preload: Relationship fields within reference fields
In most scenarios, form configuration involves a very large number of fields. When handling such complex form scenarios, manually configuring template fields usually becomes very tedious. To solve this problem, a powerful sync form fields button was introduced. The purpose of this button is to automatically parse form field configuration, and process field duplicate logic based on field types and relationship field component configuration, including duplicate, reference, and preload. In this process, already configured fields will be checked by default
Whenever users modify form field configuration, the system will not automatically sync these changes. Therefore, users need to manually click the sync form fields button to apply the latest configuration information to the template configuration.