Set max chars

This commit is contained in:
J-Jamet
2021-07-09 13:54:46 +02:00
parent 32b8c505d9
commit 876e749b31
4 changed files with 44 additions and 9 deletions

View File

@@ -62,7 +62,7 @@ class TemplateEditView @JvmOverloads constructor(context: Context,
return context?.let {
TextEditFieldView(it).apply {
setProtection(field.protectedValue.isProtected, mHideProtectedValue)
// TODO Max chars
setMaxChars(templateAttribute.options.getNumberChars())
setMaxLines(templateAttribute.options.getNumberLines())
setActionClick(templateAttribute, field, this)
}