Skip to content

Conversation

prakhargupta1
Copy link
Member

@prakhargupta1 prakhargupta1 commented Aug 12, 2024

Addresses point 1 of #3675 (comment). This will just re-establish the links back to Material UI docs. Tried 2,3 a bit but couldn't make it work.

Also, added a demo for textfield validation props. Preview: https://deploy-preview-3929--mui-toolpad-docs.netlify.app/toolpad/studio/components/text-field/#minlength

@prakhargupta1 prakhargupta1 added the docs Improvements or additions to the documentation. label Aug 13, 2024
@prakhargupta1 prakhargupta1 marked this pull request as ready for review August 13, 2024 10:34
@prakhargupta1 prakhargupta1 changed the title [docs] Improve textfield docs and re-establish links to Material UI components [studio-docs] Improve textfield docs and re-establish links to Material UI components Aug 19, 2024
@apedroferreira
Copy link
Collaborator

apedroferreira commented Aug 19, 2024

I guess we should add a demo for isRequired and maxLength validation too? Or just one single demo that covers all of them?
I can do it and clean up the demos and descriptions a bit if you need help!

@prakhargupta1
Copy link
Member Author

prakhargupta1 commented Aug 20, 2024

I guess we should add a demo for isRequired and maxLength validation too?

I agree, added demos for isRequired and maxLength as well and expanded on their description.

@apedroferreira
Copy link
Collaborator

I've added some copy suggestions + a commit to make the demo text fields have a fixed width so that it doesn't change when they show an error.

@prakhargupta1
Copy link
Member Author

prakhargupta1 commented Aug 23, 2024

I've added some copy suggestions + a commit to make the demo text fields have a fixed width so that it doesn't change when they show an error.

Thanks, not having a fixed with was an issue.
There remain some vale errors that show up in the auto-generated docs, I guess I can't manually edit them. Can you help me with it?

@apedroferreira
Copy link
Collaborator

I've added some copy suggestions + a commit to make the demo text fields have a fixed width so that it doesn't change when they show an error.

Thanks, not having a fixed with was an issue. There remain some vale errors that show up in the auto-generated docs, I guess I can't manually edit them. Can you help me with it?

I changed the casing in two files and then Git always has some issues with that, sorry for that!
I don't see any vale errors, all the checks seem green?

@prakhargupta1
Copy link
Member Author

I don't see any vale errors, all the checks seem green?

Yeah my bad no errors, there are just some warnings that we can ignore I guess.

@apedroferreira
Copy link
Collaborator

I've added a commit to fix the vale warnings!

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Jun 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to the documentation. PR: out-of-date The pull request has merge conflicts and can't be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants