Skip to content

Conversation

@sainf
Copy link
Contributor

@sainf sainf commented Nov 17, 2025

πŸ”— Linked issue

#1552

❓ Type of change

  • πŸ“– Documentation (updates to the documentation, readme or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Added the v-model to the html select.

The Native Select component has a <div> wrapper around the <select> element. This PR change adds a wrapperClasses prop for greater control over its styling to the div, especially within a flex container.

An alternative would be to apply custom CSS to the existing "group/native-select" class, but i think a dedicated prop is more aligned with Tailwind CSS principles.

"Resolves #1552"

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@sainf sainf changed the title NativeSelect - add a new prop for classes for the wrapper div NativeSelect - add modelValue and div wrapper class prop Nov 17, 2025
@sadeghbarati sadeghbarati added shadcn-ui Changes depends on original repo and removed shadcn-ui Changes depends on original repo labels Nov 18, 2025
@sadeghbarati sadeghbarati changed the title NativeSelect - add modelValue and div wrapper class prop feat: add modelValue prop to NativeSelect Nov 19, 2025
@sadeghbarati sadeghbarati merged commit 4621c42 into unovue:dev Nov 19, 2025
3 checks passed
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.

[Feature]: Native select missing emits, add classes to the main Div

2 participants