somehow, after installing the package instead of the name parameter, the default is null, the value is displayed correctly. Did by analogy with the file _build/elements/snippets.php. Searched through the source code of all packages known to me on the basis of modExtra, but none such was found. Apparently the name of the parameter default is specified not as the snippets, but how?
return [ 'Feedback' => [ 'file' => 'feedback', 'description' => ", 'events' => [ 'OnWebPagePrerender' => , ], 'properties' => [ 'fields' => [ 'type' => 'textfield', 'value' => 'author,phone,email,comment', ], ], ], ];
Find more questions by tags MODX