p
forms
package forms
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- case class DictFormController(Name: String) extends FormControllerBase with Product with Serializable
Common use case plugging in some specific algebras.
- case class FormController[T](nameBase: String) extends FormControllerBase with Product with Serializable
- trait FormControllerBase extends HasValues with HasTouches with HasErrors
A component to manage data editing lifecycle.
A component to manage data editing lifecycle. Supply the initial values and optionally track fine-grained changes. Very few assumptions are made in this base class leaving the details to subclasses. A react context is provided for child components, if desired.
The form can be used as controlled or uncontrolled. Provide a "value" parameter to ake it controlled. Controlled is a better model if you have components (such as a reset button) outside the form's structure that can alter the value being edited.
- To do
Remove dependency on Future. Make general F or use js.Promise.
- trait HasErrors extends AnyRef
- trait HasTouches extends AnyRef
- trait HasValues extends AnyRef
- case class JSFormController[T <: Object](nameBase: String) extends FormControllerBase with Product with Serializable
- trait JSObjectValues[T <: Object] extends Service
- trait MapErrors extends Service
- trait MapTouches extends Service
- trait MapValues extends Service
- trait ScalaObjectValues[T] extends Service