given_Form_String
dev.cheleb.scalamigen.Form.given_Form_String
object given_Form_String extends Form[String]
Form for to a string, aka without validation.
Attributes
- Graph
-
- Supertypes
- Self type
-
given_Form_String.type
Members list
Value members
Concrete methods
override def render(path: List[Symbol], variable: Var[String], syncParent: () => Unit)(using factory: WidgetFactory, errorBus: EventBus[(String, ValidationEvent)]): L.HtmlElement
Render a form for a variable.
Render a form for a variable.
Sometimes the form is a part of a larger form and the parent form needs to be updated when the variable changes. This is the purpose of the syncParent function.
Value parameters
- factory
-
the widget factory
- syncParent
-
a function to sync the parent state
- variable
-
the variable to render
Attributes
- Definition Classes
Inherited methods
Parse a string and return an Option[A].
Givens
Inherited givens
Attributes
- Inherited from:
- Form
In this article