0

I added a new value to an existing picklist (not dependent field). I added it to the record type and I see it in the record layout.

BUT I can't see it in a custom lightning component which displays the field using lightning:inputField. All values are showing except this one.

Has anyone know what do in that case ?

3
  • 1
    are you using correct recordtypeid in lightning recordform
    – User6670
    Feb 23, 2020 at 12:02
  • Your answer got me to the resolution. I didn't enter recordTypeId in the lightning recordEditForm since the component is only for update the record. And the new value was added only to one record type (and not all of them). So that's why it wasn't showing in the component. Thanks.
    – osos9
    Feb 23, 2020 at 12:53
  • Could one of you please post an answer with the resolution? Thank you!
    – David Reed
    Feb 23, 2020 at 17:51

1 Answer 1

1

If your org uses record types, picklist fields display values according to your record types. You must provide a record type ID using the record-type-id attribute if you have multiple record types on an object and you don't have a default record type. Otherwise, the default record type ID is used.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .