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

Value Formatting vs. Display Formatting #363

Closed
angstitc opened this issue Sep 11, 2018 · 0 comments
Closed

Value Formatting vs. Display Formatting #363

angstitc opened this issue Sep 11, 2018 · 0 comments
Labels
inactive For inactive outdated issues

Comments

@angstitc
Copy link

Suggestion
This maybe is not a bug, but it's would be much better to use.

What i did - Steps

  • Im using this searchable autocomplete with some models like:
    { customerNumber: 1, name:'Hans' }
  • I've done value Formatting so we can see name and customer number
  • Accept-user-input is set to false
  • After the first click i can enter custom stuff so i decided to use a async validator
  • If I select a list item everything is fine, because the value is the model object
  • If i enter the input again just with a click, changing nothing, the value changes to the displayed string which cause validaton failure

Current behavior

  • Value changes to formatted string after entering the form with the mouse again

Expected/desired behavior

  • Value still is the selected model object
@almothafar almothafar added the inactive For inactive outdated issues label Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inactive For inactive outdated issues
Projects
None yet
Development

No branches or pull requests

2 participants