Page MenuHomePhabricator

Add maxlength attribute to ResizingTextField
Closed, ResolvedPublic

Description

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).

Event Timeline

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

https://gerrit.wikimedia.org/r/542099

Change 542099 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] bridge: allow adding max length to ResizingTextField

https://gerrit.wikimedia.org/r/542099