2.0.2 • Published 1 year ago
@wesib/forms v2.0.2
Wesib: Forms
This module adapts an Input Aspects library for the use with components.
A Form
instance represents some form control. While a Field
instance represents an input field control.
When @SharedForm()
decorates a container component property with Form
value, this makes that form shared.
When @SharedField()
decorates a nested component property with Field
value, this field is added to the form
shared by closest container, and also makes this field shared.
An @OnSubmit()
-decorated method is called when the form shared by the component (or its closest container) submitted.
A FormPreset
instance provided for component context can be used to modify Form
and Field
aspects.
2.0.2
1 year ago
2.0.1
3 years ago
2.0.0-dev.0
3 years ago
2.0.0
3 years ago
1.0.0
3 years ago
1.0.0-beta.43
3 years ago