Fires when this component is added to a parent but before rendering
the index in the parents' items
Fires before hide. You can cancel the hide by returning false.
Component.hide()
Fires before the element is removed. You can cancel the remove by returning false
Component.remove()
Fires just before rendering
Component.render()
When the data in the fields is serialized to a single json object to be posted to the server.
Fires before show. You can cancel the show by returning false
Component.show()
Not fired by the framework. But comes in handy when you extend this form and add a cancel button
Fires when the field changes. It fires on blur.
Note: this event does not fire on {@see ContainerField} and {@see Form}
Fires on focus
Optional
o: FocusOptionsFires after hiding the component
Component.show()
Fires when the field is invalid
Use {@see setInvalid()} to mark field invalid
When the data is fetched from the store. but before it is put into the fields
the entity from the store
Fires when an error occurred when loading.
If a listener returns "false", the standard error dialog is not shown.
Fires after the component has been removed
Component.remove()
Fires when the component renders and is added to the DOM
Component.render()
Fires when field is reset
Fires when the entity is saved successfully
Fires when an error occurred when saving
If a listener returns "false", the standard error dialog is not shown.
Fires when setValue() is called
Fires after showing the component
Component.show()
Fires when the form is submitted. The event is fired after calling the handler.
You can check if the form is valid after submitting with {@see form.isValid()}
Fires when validated
Use {@see setInvalid()} to mark field invalid
Generated using TypeDoc
Component events
See
ComponentEventMap