Announcements
- ComboBox1: Control: Classic/ComboBox@2.4.0 Properties: DefaultSelectedItems: =varLastValid OnChange: |- =If( CountRows(Self.SelectedItems) <= 5, // Remember this as the last valid state Set( varLastValid, Self.SelectedItems ), // Warn and revert to the last valid state Notify( "You can select up to 5 items.", NotificationType.Error ), Reset(Self)// Resets to DefaultSelectedItems = varLastValid ) X: =40 Y: =40
- ComboBox1: Control: Classic/ComboBox@2.4.0 Properties: DefaultSelectedItems: =colLastValid OnChange: |- =If( CountRows(Self.SelectedItems) <= 5, // Remember this as the last valid state ClearCollect( colLastValid, Self.SelectedItems ), // Warn and revert to the last valid state Notify( "You can select up to 5 items.", NotificationType.Error ), Reset(Self)// Resets to DefaultSelectedItems = varLastValid ) X: =40 Y: =40
OnChange
DefaultItems
Reset
If( CountRows(Self.SelectedItems) <= 5; // Remember this as the last valid state ClearCollect( colLastValid; Self.SelectedItems ); // Warn and revert to the last valid state Notify( "You can select up to 5 items."; NotificationType.Error ); Reset(Self)// Resets to DefaultSelectedItems = colLastValid )
colLastValid
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 530
WarrenBelz 459 Most Valuable Professional
Haque 314