Created
November 7, 2022 06:03
-
-
Save asissuthar/aceb4c7ba9ac0d304d632ad33bf1fd77 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ... | |
fun Collection<FormField<*>>.clearError() { | |
forEach { formField -> formField.clearError() } | |
} | |
fun Collection<FormField<*>>.clearFocus() { | |
forEach { formField -> formField.clearFocus() } | |
} | |
fun Collection<FormField<*>>.disable() { | |
forEach { formField -> formField.disable() } | |
} | |
fun Collection<FormField<*>>.enable() { | |
forEach { formField -> formField.enable() } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment