Appearance
editor.{fields|tabs[].fields}[].control
Replaces the input with a file picker in a runMethod editor; on submit the panel uploads the file as a temporary file and sends its token in params[attribute]. Requires an explicit type String and no defaultValue; any other control value, or scratchFile in another editor, is a configuration error that blocks submission.
This is a compact property lookup. Use the contextual guide below for the complete feature model, configuration sequence, interactions, examples, and limitations.
- Context
- editor fields
- Accepted value
"scratchFile"- Required
- No
- Default
- No documented default.
User scenarios
- Pass a user-chosen file, such as an import spreadsheet, to a MetaMethod.
Related parameters
Contextual guide and evidence
- Contextual guide: Open the complete human guide
- Source:
apps/panel/src/types/editor.ts, symbolEditorTabField - Example coverage: Complete — The runMethod guide shows an import file field.
- Demo coverage: Complete — The Action input tab runs a file round trip through the fixture API. Open the runnable demo .