afterHide
fires after a Form control or its element is hidden
afterHide: (name: string, value?: any, id?: string) => void;
Parameters:
name|id: string
- the name (or id, if the name is not specified) of the Form controlvalue?: any
- optional, the current value of the controlid?: string
- optional, the id of the element of the control of Form (for RadioGroup, CheckboxGroup)
Example
form.events.on("afterHide", function(name, value) {
console.log("afterHide", name, value);
});
Related samples:
Change log:
- The id parameter was added in v8.0
- Before v7.0, the event took one parameter - the control id.
- Starting from v7.0, the event takes two parameters: name|id and value.
- The event was added in v6.5