Login screens: disable submit button when input is empty
This commit is contained in:
parent
5db3f51ddb
commit
ef35f0a044
|
@ -54,6 +54,7 @@ class LoginServerUrlFormFragment @Inject constructor(
|
|||
loginServerUrlFormHomeServerUrl.textChanges()
|
||||
.subscribe {
|
||||
loginServerUrlFormHomeServerUrlTil.error = null
|
||||
loginServerUrlFormSubmit.isEnabled = it.isNotBlank()
|
||||
}
|
||||
.disposeOnDestroyView()
|
||||
|
||||
|
|
Loading…
Reference in New Issue