Skip to content

Instantly share code, notes, and snippets.

@zaguiini
Created August 28, 2018 22:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zaguiini/1a94def21934b75b5cc95051cd3cd80a to your computer and use it in GitHub Desktop.
Save zaguiini/1a94def21934b75b5cc95051cd3cd80a to your computer and use it in GitHub Desktop.
An example of Ugly code
form.rowByTag("vNome")?.disabled = true
form.rowByTag("vNome")?.evaluateDisabled()
form.rowByTag("vLocal")?.disabled = true
form.rowByTag("vLocal")?.evaluateDisabled()
form.rowByTag("vData")?.disabled = true
form.rowByTag("vData")?.evaluateDisabled()
form.rowByTag("vEquipe")?.disabled = true
form.rowByTag("vEquipe")?.evaluateDisabled()
form.rowByTag("vAmigos")?.disabled = true
form.rowByTag("vAmigos")?.evaluateDisabled()
form.rowByTag("vReferencia")?.disabled = true
form.rowByTag("vReferencia")?.evaluateDisabled()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment