For now, a direct maxlength on the underlying <textarea> should be fine, though this counts UTF-16 code units and the underlying PHP probably doesn’t (though I haven’t checked whether that counts code points, UTF-8 bytes or something else).
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| bridge: allow adding max length to ResizingTextField | mediawiki/extensions/Wikibase | master | +206 -6 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | Lydia_Pintscher | T224833 first client edit for simple typo | |||
| Resolved | Lydia_Pintscher | T229241 restrict length of string value input | |||
| Resolved | Michael | T235039 Add maxlength attribute to ResizingTextField |
Event Timeline
Comment Actions
Change 542099 had a related patch set uploaded (by Michael Große; owner: Michael Große):
[mediawiki/extensions/Wikibase@master] bridge: allow adding max length to ResizingTextField
Comment Actions
Change 542099 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] bridge: allow adding max length to ResizingTextField