title: PowerApps How can I disable and enable different dropdowns based on different listbox items selected
body: <p>I have a listbox in PowerApps and I need to enable different dropdowns based on each selection of listbox item. I have one dropdown for each listbox items.</p>
  <p>I tried the following code on my dropdowns, but it doesn't work and give error *, + is expected at this point in formula</p>
  <p>below is the formula I wrote in DisplayMode of the dropdowns:</p>
  <pre><code>ForAll(ListBox1_1.SelectedItems, If(ThisRecord.Name=&quot;Offce ABC&quot;,DisplayMode.Edit,DisplayMode.Disabled));
  </code></pre>