Filename
The list of common settings for parameters is available here.
Specification
extension
Type:
String or Array
.Allowed extension or array of allowed extensions.
In combination with type buffer
the file can be used for better file input dialog.
nested
Available types:
Type | Specification |
---|---|
array | Provides an array of nested parameters which are shown when the value of the parameter is set (value is not empty) |
string | Provides URL address of an RPC to load list of nested parameters. |
object | Provides a detailed specification of nested parameters. |
Usage of nested fields:
Examples
File Input
When combined with filename
parameter, the buffer can be used for a file input dialog.
Allowed File Extensions
You can restrict allowed extensions by adding extension
option.
Last updated