Skip to content

editor.{fields|tabs[].fields}[].control ​

← Back to the parameter index

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, symbol EditorTabField
  • 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 .

The panel source named above remains authoritative for runtime behavior. This secondary reference page is generated from the reviewed parameter matrix and does not replace the contextual guide.