`maxlength` for `TextArea` tag
Is your feature request related to a problem? Please describe.
- I want to have a input length limit for
TextAreatag.
Describe the solution you'd like
- Having a parameter
maxlengthas in HTML forTextAreatag.
Describe alternatives you've considered
- This can be done with JavaScript, but I wasn't sure how to include a custom script within Label Studio.
Additional context
- This feature is useful when you want to limit the max length of user input, for example, when you annotate for summarization.
Hey @go-inoue ! Thank you so much for your feedback!
This would be a nice feature request — I'll flag it internally and please feel free to follow up if you have any questions.
I have implemented the single-char-wise max length validation functionality to my label-studio-frontend fork as follows. Please feel free to cherry-pick if you'd like it. (However, my impl may be different from LabelStudio's policy, because I'm unfamiliar with JS, React and Mobx...)
commit: https://github.com/ciela/label-studio-frontend/pull/1/commits/28d39c5293ce93493fe208e9016dc3a0e6896513
Hello @makseq What’s the state of this issue? do you plan on merging the proposed solution ? Thanks !
@CrisRodriguez hey, have you ever made a PR from this commit?