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

wip: feat: dropdown menu for houseAge input #310

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zz-hh-aa
Copy link
Collaborator

What does this PR do?

  • Installs the shadcn select component
  • Creates a new InputDropdown component
    • Even though there's only one in the form I thought it was best to keep the component generic and place the dropdown options in CalculatorInput
  • Uses the dropdown for a houseAge input in CalculatorInput

Why?

As according to designs
image

Issues

The placeholder text isn't the right colour and I can't for the life of me figure out how to add the border that other input fields have!
image
I have tried adding the inputfield-style className to InputDropdown in CalculatorInput; I have tried inspecting the element in browser and copying the styling from other input fields over into SelectTrigger to no avail.

Copy link

vercel bot commented Jan 30, 2025

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

Name Status Preview Comments Updated (UTC)
fairhold-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 30, 2025 4:04pm

@zz-hh-aa zz-hh-aa requested a review from a team January 30, 2025 16:04
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.

1 participant