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

Update Select.tsx #84

Conversation

AaronAgility
Copy link
Contributor

Changing the option value to label for select component

Copy link

vercel bot commented Nov 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
plenum-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2024 9:34pm

@DakotahGodfrey DakotahGodfrey self-requested a review November 8, 2024 21:21
@DakotahGodfrey
Copy link
Contributor

Sorry can you also increment the version number in the package.json I'll publish the latest version once this has been merged.

DakotahGodfrey
DakotahGodfrey previously approved these changes Nov 8, 2024
@DakotahGodfrey DakotahGodfrey changed the base branch from QA to main November 8, 2024 21:30
@DakotahGodfrey DakotahGodfrey dismissed their stale review November 8, 2024 21:30

The base branch was changed.

…ender-the-DISPLAY-text-from-the-dropdown-not-the-value
@DakotahGodfrey DakotahGodfrey self-requested a review November 8, 2024 21:31
@DakotahGodfrey DakotahGodfrey merged commit fc8f23e into main Nov 8, 2024
4 checks passed
@DakotahGodfrey DakotahGodfrey deleted the FE-1521-Content-List-Dropdown-field-should-render-the-DISPLAY-text-from-the-dropdown-not-the-value branch November 8, 2024 21:34
@@ -95,7 +95,7 @@ const Select: React.FC<ISelectProps> = ({
>
{options.map(({ value, label }) => {
return (
<option key={value} value={value}>
<option key={value} value={label}>
Copy link
Contributor

Choose a reason for hiding this comment

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

@AaronAgility We have to revert this change that you made in this PR as it was causing all selects in the manager app to now work properly. Was there a reason for this change?

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.

3 participants