Skip to content

Commit b8aaa7f

Browse files
committed
docs: added relevant comments
1 parent 5021252 commit b8aaa7f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

source/_patterns/01-elements/_form-elements.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@
115115
%form-element-counter {
116116
margin-top: to-rem($pxValue: 12);
117117

118+
// TODO: add CSS anchor positioning
119+
118120
// Description styles
119121
// TODO: This probably still needs to get further changed to a general "hint" pattern or similar
120122
&,

source/_patterns/01-elements/input/input~maxlength.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ order: 12
44
---
55

66
To set the maximum length of allowed characters on an input element, you could use the `maxlength`-attribute on the input field. This would additionally provide a visual counter.
7+
8+
Please keep in mind that you'll probably have to position the output element yourself previous to in the context of e.g. a wrapping HTML element; we'll have a future solution by CSS Anchor Positioning as well.

0 commit comments

Comments
 (0)