File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
core/src/main/scala/japgolly/scalajs/react/vdom Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1093,6 +1093,13 @@ trait HtmlAttrs {
1093
1093
*/
1094
1094
final def optimum = VdomAttr (" optimum" )
1095
1095
1096
+ /** The pattern attribute specifies a regular expression against which the control’s value, or, when the multiple
1097
+ * attribute applies and is set, the control’s values, are to be checked.
1098
+ *
1099
+ * @see https://www.w3.org/TR/html5/sec-forms.html#the-pattern-attribute
1100
+ */
1101
+ final def pattern = VdomAttr [String ](" pattern" )
1102
+
1096
1103
/**
1097
1104
* A hint to the user of what can be entered in the control. The placeholder
1098
1105
* text must not contain carriage returns or line-feeds. This attribute
Original file line number Diff line number Diff line change 15
15
* VDOM improvements
16
16
* Add helper methods to the ` autoComplete ` attribute, eg. ` ^.autoComplete.currentPassword `
17
17
* ` minLength ` and ` maxLength ` now only accept ints
18
+ * add ` pattern ` attribute
18
19
19
20
* Dependency upgrades
20
21
* Cats 1.6.0
You can’t perform that action at this time.
0 commit comments