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 {
10931093 */
10941094 final def optimum = VdomAttr (" optimum" )
10951095
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+
10961103 /**
10971104 * A hint to the user of what can be entered in the control. The placeholder
10981105 * text must not contain carriage returns or line-feeds. This attribute
Original file line number Diff line number Diff line change 1515* VDOM improvements
1616 * Add helper methods to the ` autoComplete ` attribute, eg. ` ^.autoComplete.currentPassword `
1717 * ` minLength ` and ` maxLength ` now only accept ints
18+ * add ` pattern ` attribute
1819
1920* Dependency upgrades
2021 * Cats 1.6.0
You can’t perform that action at this time.
0 commit comments