How can I limit the size of input of TextField? in XML I used InputFilter something like this:
val limitSizeInputFilter = arrayOf<InputFilter>(ByteLengthFilter(100, "UTF-8"))
binding.nsetName.filters = limitSizeInputFilter
Is there any equivalent to it in compose?
I found this but this restrict to regex which is depends on characters. And I need to check the byte length.