Conversation
|
BenOsodrac
approved these changes
Jul 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This pull request introduces a new feature that allows developers to control whether the
disabledattribute is managed on the button element when the ButtonLoading pattern is in a loading state. It also exposes a new API method for toggling this behavior, updates the interface and error codes accordingly, and makes a minor update to the SCSS versioning.New feature: Manage disabled attribute on loading
_disableBtnWhenIsLoadingand related logic inButtonLoading.tsto control whether the button is automatically disabled when loading (IsLoading). This is now handled by the_setButtonDisabledmethod, which is called whenever the loading state changes. [1] [2]disabledStateOnIsLoading(isDisabled: boolean)to allow toggling this behavior at runtime.IButtonLoadinginterface to include the new method for controlling the disabled state management.ManageDisabledAttributeto the ButtonLoading enum for future extensibility.API and error code updates
ForceIsLoadingDisabledStateinButtonLoadingAPI.tsto allow external consumers to enable or disable automatic management of thedisabledattribute.FailForceDisabledStateOnIsLoadingfor error handling in the new API.Other changes
pointer-events: noneon all elements during loading in_button-loading.scss, which may affect interaction with child elements.O11.OutSystemsUI.scssandODC.OutSystemsUI.scssto 2.30.0. [1] [2]