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

Cannot format selection for single-value AutoComplete field #353

Closed
berdyshev opened this issue Mar 18, 2018 · 1 comment · Fixed by #354
Closed

Cannot format selection for single-value AutoComplete field #353

berdyshev opened this issue Mar 18, 2018 · 1 comment · Fixed by #354
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@berdyshev
Copy link
Contributor

I'm submitting a ... (check one with "x")

[x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=57

Current behavior
AutoComplete component, when working in single value mode, doesn't respect the selectedItemTemplate, but for muli-value mode it works.

https://codesandbox.io/s/73vl176kr6?module=%2Fsrc%2FAutoCompleteDemo.js

Expected behavior
Use the same render prop for both modes.

@mertsincan mertsincan self-assigned this Apr 3, 2018
@mertsincan mertsincan added the Type: Bug Issue contains a defect related to a specific component. label Apr 3, 2018
@mertsincan mertsincan added this to the 1.5.1 milestone Apr 3, 2018
@mertsincan
Copy link
Member

Thanks a lot for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants