Sometimes, we have a requirement where we need to show Multi-select checkboxes instead of dropdown in our Power Apps forms. When we are using SharePoint as a data source, what happens is, Power Apps show a choice column as a dropdown. The client mostly asks for the checkboxes in case of multiple value selection.
During this session, I'm going to explain to you one Power Apps hack or tip using which you can easily convert your Choices to Checkboxes. We will be adding some formulas to convert our dropdown to checkboxes. This tip will work for New and Edit both forms.
So, let's check the steps to convert the default dropdown to checkbox selection in Power Apps and how we can resolve a problem - Checkboxes in SharePoint list shows up as dropdown in Power Apps.
Chapters:
00:00 Introduction
00:12 Requirement
01:01 Overview of SharePoint Data Source
02:12 Customize Power Apps Form
03:07 Step 1: Add Checkboxes to convert Dropdown to Checkboxes
04:40 Step 2: Add OnCheck and OnUnCheck Event
05:30 OnCheck Event Code
07:20 OnUnCheck Event Code
07:33 Check Code with Collection
08:15 Step 3: Provide Collection on DefaultSelectedItems
08:45 Step 4: Add Code to Update Event of DataCard
09:12 Step 5: Hide Dropdown Data Card
09:37 Test Dropdown
10:03 Show Selected Value in Form during Edit Time
10:16 Step 6: Default Event Set for Edit Form
11:23 Logic Explanation during Edit Time
12:00 Code for Default Property during Edit Time
12:57 Test Edit Form
13:24 End
#PowerApps #PowerAppsTip #PowerPlatform #PowerAppsWithDhruvin #PowerPlatformWithDhruvin #DhruvinShah
21 июл 2024