... | ... | @@ -487,6 +487,7 @@ Auto forms do not allow override `initComponent` - it will just not work. |
|
|
But it is possible to define `initComponentStart` and do there manipulations with `items` collection, for example. Call of `callParent` is not required.
|
|
|
Data would not be ready by that moment, but `commandConfig` will be there.
|
|
|
|
|
|
The following example removes some fields from the form, when form is called in "insert" mode (not edit):
|
|
|
```javascript
|
|
|
exports.formCode = {
|
|
|
initComponentStart: function () {
|
... | ... | |