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 ?

  • 1
    are you using correct recordtypeid in lightning recordform – User6670 Feb 23 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 at 12:53
  • Could one of you please post an answer with the resolution? Thank you! – David Reed Feb 23 at 17:51
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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.