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

Set args.options as optional #1649

Merged
merged 1 commit into from
Jan 17, 2024
Merged

Set args.options as optional #1649

merged 1 commit into from
Jan 17, 2024

Conversation

johanrd
Copy link
Contributor

@johanrd johanrd commented Jan 17, 2024

To me, all cases of undefined args.options seems to handled well, so undefined options should not give a glint type error.

To me, all cases of undefined args.options seems to handled well, so undefined options should not give a glint type error.
@mkszepp
Copy link
Collaborator

mkszepp commented Jan 17, 2024

@johanrd yes its correct... i'm not sure, but i think we can also set selected nullable? (its the last property which is not nullable). Only onChange is required.

If you want, you can set also selected nullable in this PR

@johanrd
Copy link
Contributor Author

johanrd commented Jan 17, 2024

@mkszepp yes, good point. undefined args.selected seems to be handled well as well

johanrd added a commit to johanrd/ember-power-select that referenced this pull request Jan 17, 2024
See cibernox#1649. All cases of undefined seems to be handled well
@mkszepp mkszepp merged commit 1bae57e into cibernox:master Jan 17, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants