Use Labels for Edit

This is a template you can use to report issues. You can also drag images, videos and include Preformatted text

Expected behavior

Using the feature “Use Labels” for fields and works good for display but does not display in edit mode

Actual behavior

Displays number


image
image

Failure Logs

Please include any relevant log snippets, if necessary.

Context

Please provide any relevant information about your setup.

  • Package Version:
  • Express Version:
  • Sequelize Version:
  • Database Dialect:
  • Database Version:
  • Project Name:

Hey @Liam_Cheung,

Thanks for reporting your issue.

If I understand well your problem, you are saying that when setting this rule for instance (if “1” then “AA”):


Then it’s well displayed in read mode (“AA”):

But not when editing the record (“1”):

Is it what you’re saying?

Well, to me the behaviour seems pretty fine to me :thinking:
The value of the record is actually 1; but we want to display AA instead (it is just a display rule).
But when editing the data, there is no other choice than editing the real value… does it make sense to you?

Thanks.

Hi Adrien,

By coincidence I was just on a call with Louis and Steve and showed them my specific issue on screen share. Louis said he would look at it. I mentioned if this is not something that other users would want, then I will just create a smart field and do it on the backend to solve this problem for my implementation. Just let me know.

Liam

1 Like

Hi @Liam_Cheung can you make sure that, in addition to use LABELS, you’ve set DROPDOWN in the edit settings of your field.

That should do the trick. Let me know.

1 Like

Very very nice, worked thanks!

1 Like