Skip to content

Commit 9452140

Browse files
fix :
- set text as a dynamic github issue
1 parent b7ea116 commit 9452140

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

customedittextoutlinedborder/src/main/java/com/simform/customcomponent/SSCustomEdittextOutlinedBorder.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,10 @@ class SSCustomEdittextOutlinedBorder @JvmOverloads constructor(context: Context,
6969
}
7070

7171
fun setTextValue(value : String?){
72-
editText.setText(value)
72+
value?.let {
73+
editText.setText(value)
74+
editText.setSelection(value.length)
75+
}
7376
}
7477

7578
fun setIsErrorEnable(isShown: Boolean) {

0 commit comments

Comments
 (0)