Disabled in dropdown

Certified Associate Developer

Hi all, 

I have a dropdown field and have a condition for disbaled, based on that it will be disabled or not.
--> if it's not null or empty it's working fine

--> if it's null or empty, the dropdown is not disabled and I'm able to select a value for first time. Once I select the value, the dropdown gets disabled. ( since it considers that the field is not null and it's disabled. But I want the field to be editable) Can someone please help here.  

disabled: {
if(
a!isnullormepty(ri!record[my dropdown field])
false,
true
),

},

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Associate Developer
    in reply to Stefan Helzle

    My requirement here is, I pull the data from the external system. After pulling the data, when I view the record somteimes the dropdown field might get a value from the external system and sometimes it will be empty.
    If the field is empty, then the user can select values from the dropdown. If the field is not empty (populated by the external system) then I want to disable the field, so that user can change the value