Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Text field input props#80

Merged
dasanra merged 2 commits intodevelopmentfrom
text-field-inputProps
Jan 4, 2021
Merged

Text field input props#80
dasanra merged 2 commits intodevelopmentfrom
text-field-inputProps

Conversation

@alfetopito
Copy link
Contributor

On <TextField> component, now inputProps are passed down to MUI component.

MUI reference https://material-ui.com/api/text-field/
screenshot_2020-12-11_11-00-22

With this change, <TextField> input props now can contain HTML props and properly pass it down to inner <input> element.

Added a Story for testing it with a number input with min and max set
screenshot_2020-12-11_11-07-13

Leandro Boscariol added 2 commits December 11, 2020 10:59
This change makes it possible to set <input> HTML's props like
min and max values, by passing them onto <TextField> `input` obj
@github-actions
Copy link

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 0 0
Ignored 0 N/A
  • Result: ✅ success
  • Annotations: 0 total

Report generated by eslint-plus-action

@ghost
Copy link

ghost commented Dec 11, 2020

Travis automatic deployment:
https://pr80--safereactcomponents.review.gnosisdev.com

Copy link
Contributor

@fernandomg fernandomg left a comment

Choose a reason for hiding this comment

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

💯

@alfetopito
Copy link
Contributor Author

Can I merge this? Or will any of you do it?

@dasanra dasanra merged commit 7d4d590 into development Jan 4, 2021
@dasanra dasanra deleted the text-field-inputProps branch January 4, 2021 12:34
@dasanra dasanra mentioned this pull request Feb 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants