Skip to content

Conversation

@Eden-4
Copy link
Contributor

@Eden-4 Eden-4 commented Oct 9, 2025

Done

  • required attribute forwarded to <Select> and <Textarea> components

Fixes

Fixes: Issue #1263

QA

Pinging @canonical/react-library-maintainers for a review.

Storybook

To see rendered examples of all react-components, run:

yarn start

QA in your project

from react-components run:

yarn build
npm pack

Install the resulting tarball in your project with:

yarn add <path-to-tarball>

QA steps

  • Tested locally by adding <Select> and <Textarea> with a required prop to a story in Form.stories.tsx.

Required attribute forwarded to Select and Textarea components
@webteam-app
Copy link

Eden-4 is not a collaborator of the repo

@Eden-4 Eden-4 changed the title fix: <Textarea> and <Select> ignore required prop fix: Textarea and Select ignore required prop Oct 9, 2025
Copy link
Contributor

@fasih-mehmood fasih-mehmood left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@Eden-4 Eden-4 merged commit 302413d into canonical:main Oct 9, 2025
9 checks passed
@github-actions
Copy link

github-actions bot commented Oct 9, 2025

🎉 This PR is included in version 3.4.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

<Textarea> and <Select> ignore required prop

3 participants