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
[PUI] Make API form Select Field theme-aware #6521
[PUI] Make API form Select Field theme-aware #6521
Conversation
✅ Deploy Preview for inventree-web-pui-preview ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Does this close #5836? |
Yes :> |
@LavissaWoW could you also take a look at #5824? |
@matmair Can do! |
Cheers @LavissaWoW , LGTM |
// Field doesn't follow Mantine theming | ||
// Define color theme to pass to field based on Mantine theme | ||
const th = useMantineTheme(); | ||
let colors: any; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same thing here, it would make sense to wrap this into a useMemo
Adding theme awareness to
react-select
field in forms.Closes #5836