icerockdev / moko-widgets

Multiplatform UI DSL with screen management in common code for mobile (android & ios) Kotlin Multiplatform development
https://moko.icerock.dev
Apache License 2.0
387 stars 32 forks source link

InputWidget, add max length parameter #228

Open Dorofeev opened 4 years ago

Dorofeev commented 4 years ago

Need to add to Input Widget max length parameter, that will allow you to set the maximum number of characters to enter.

Alex009 commented 4 years ago

will be implemented with wrapper-widget:

inputLength(child: InputWidget, maxLength: LiveData<Int?>)
Alex009 commented 4 years ago

implemented in ATRA project, and should be moved to widgets lib