Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADS: Add disabled state to TextInput #5233

Merged

Conversation

mikescamell
Copy link
Contributor

@mikescamell mikescamell commented Nov 4, 2024

Task/Issue URL: https://app.asana.com/0/488551667048375/1208686387923872/f

Description

  • Adds a disabled state for TextInput layout (needed for the Show on App Launch feature)
  • Adds a hint text demo to the ADS demo screen

Steps to test this PR

  • Open ADS screen
  • Ensure disabled input text match designs
  • Ensure buttons are not clickable when disabled

UI changes

Screen_recording_20241104_140900.mp4

This seems like a mistake. I don't think the error demo should be editable
setting internalInputLayout to disabled disables any buttons, and we can always just set the internalPasswordIcon enabled state regardless
Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @mikescamell and the rest of your teammates on Graphite Graphite

@mikescamell mikescamell marked this pull request as ready for review November 4, 2024 14:09
@malmstein malmstein self-assigned this Nov 4, 2024
Copy link
Contributor

@malmstein malmstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great, thanks @mikescamell !

@mikescamell mikescamell merged commit eb5dc4f into develop Nov 4, 2024
8 checks passed
@mikescamell mikescamell deleted the feature/mike/ads/fix-disabled-text-input-layout branch November 4, 2024 16:11
aitorvs pushed a commit that referenced this pull request Nov 6, 2024
Task/Issue URL:
https://app.asana.com/0/488551667048375/1208686387923872/f

### Description

- Adds a disabled state for TextInput layout (needed for the Show on App
Launch feature)
- Adds a hint text demo to the ADS demo screen

### Steps to test this PR

- [x] Open ADS screen
- [x] Ensure disabled input text match
[designs](https://www.figma.com/design/BOHDESHODUXK7wSRNBOHdu/%F0%9F%A4%96-Android-Components?node-id=14783-11394&t=888GVAASRLdwvSuT-4)
- [x] Ensure buttons are not clickable when disabled

### UI changes


https://github.com/user-attachments/assets/606e65ca-dd09-4b24-a192-e4e53595b112
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants