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

fix(listbox): prop to disable confirming selections on blur events #866

Merged
merged 5 commits into from
Jun 27, 2022

Conversation

haxxmaxx
Copy link
Collaborator

@haxxmaxx haxxmaxx commented Jun 27, 2022

Motivation

Temporary fix to disable confirming selections on blur events. This should eventually be refactored, see issue #863

Requirements checklist

  • Api specification
    • Ran yarn spec
      • No changes
        OR
      • API changes has been formally approved
  • Unit/Component test coverage
  • Correct PR title for the changes (fix, chore, feat)

When build and tests have passed:

  • Add code reviewers, for example @qlik-oss/nebula-core

@haxxmaxx haxxmaxx changed the title Crl/confrim blur prop fix(listbox): prop to disable confirming selections on blur events Jun 27, 2022
@haxxmaxx haxxmaxx marked this pull request as ready for review June 27, 2022 13:42
@@ -59,6 +59,7 @@ export default function ListBoxInline({ app, fieldIdentifier, stateName = '$', o
sortByState = 1,
scrollState = undefined,
setCount = undefined,
shouldConfirmOnBlur = undefined,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe it's just my personal preference, but I think it feels nicer calling it just confirmOnBlur.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

sure I can change

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

or actually I just merged the other PR so easier to stick with this

Copy link
Collaborator

Choose a reason for hiding this comment

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

that's fine, just a detail

@haxxmaxx haxxmaxx merged commit d680826 into master Jun 27, 2022
@haxxmaxx haxxmaxx deleted the crl/confrim-blur-prop branch June 27, 2022 14:52
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.

2 participants