required
slinky.web.html.required
object required extends Attr
textarea - This attribute specifies that the user must fill in a value before submitting a form. select - A Boolean attribute indicating that an option with a non-empty string value must be selected. input - This attribute specifies that the user must fill in a value before submitting a form. It cannot be used when the type attribute is hidden
, image
, or a button type (submit
, reset
, or button
). The :optional
and :required
CSS pseudo-classes will be applied to the field as appropriate.
Attributes
- Graph
-
- Supertypes
-
trait Attrclass Objecttrait Matchableclass Any
- Self type
-
required.type
Members list
In this article