Skip to content

alpha-feedback(DBCustomSelect): consolidated bugs #3983

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

Open
1 of 7 tasks
annsch opened this issue Mar 31, 2025 · 0 comments
Open
1 of 7 tasks

alpha-feedback(DBCustomSelect): consolidated bugs #3983

annsch opened this issue Mar 31, 2025 · 0 comments
Labels
🚗🥇🚬Alpha This relates to the components currently in alpha state. 👩‍👧‍👦community feedback Feedback from community

Comments

@annsch
Copy link
Contributor

annsch commented Mar 31, 2025

Which generators are impacted?

  • All
  • HTML
  • React
  • Angular
  • Vue
  • Web components
  • Power Apps

Reproduction case

We use DBCustomSelect with react-hook-form and found some issues with this setup:

How we use it:

<Controller
            control={control}
            name={name}
            render={({ field }) => (
                <DBCustomSelect
                    {...field}
                    {...props}
                    data-testid={testId}
                    values={field.value}
                    options={options}
                    onSelect={(newValue) => {
                        changeHandler?.(newValue);
                    }}
                    validation={errorMessage ? 'invalid' : 'no-validation'}
                    invalidMessage={errorMessage}
                    validMessage="this message shouldn't be visible"
                    required
                />
            )}
        />

Issues we came across:

  • no support for uncontrolled component: using react hook forms we did not manage to setting the fieldname by register and got the correct values on form submit
  • use as controlled component: no match shows the select all checkbox (attached video)
  • select all checkbox label switches on click (atteached video)
  • search inputs validation messages couldn't be disabled/hidden - this validation should be optional / it's confusing because the validation is as well at the base form input field
  • we'd expect an onClear handler
  • allow composition for options as well

Expected Behaviour

see above ;)

Screenshots

Aufzeichnung.2025-03-31.105829.mp4

Browser version

None

Add any other context about the problem here.

No response

@annsch annsch changed the title alpha-feedback(DB-CustomSelect): consolidated bugs with this brand new component alpha-feedback(DB-CustomSelect): consolidated bugs Mar 31, 2025
@annsch annsch changed the title alpha-feedback(DB-CustomSelect): consolidated bugs alpha-feedback(DBCustomSelect): consolidated bugs Mar 31, 2025
@mfranzke mfranzke added 👩‍👧‍👦community feedback Feedback from community 🚗🥇🚬Alpha This relates to the components currently in alpha state. labels Apr 1, 2025
@mfranzke mfranzke moved this to 📋 Backlog in UX Engineering Team Backlog Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚗🥇🚬Alpha This relates to the components currently in alpha state. 👩‍👧‍👦community feedback Feedback from community
Projects
Status: No status
Development

No branches or pull requests

2 participants