Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FormElements: Change visiblity of some private properties to protected #124

Merged
merged 3 commits into from
Jun 23, 2023

Conversation

nilmerg
Copy link
Member

@nilmerg nilmerg commented Jun 23, 2023

The methods using them are protected and can be overridden. But since the properties are private, and used internally as flag to do things only once, a child class cannot override them without using its own flags.

Also fixes an issue with setDefaultElementDecorator() as it accepts strings but doesn't instantiate the class return by a loader.

The methods using them are protected and can be overridden. But since
the properties are private, and used internally as flag to do things
only once, a child class cannot override them without using its own
flags.
@nilmerg nilmerg added the bug Something isn't working label Jun 23, 2023
@nilmerg nilmerg added this to the v0.8.0 milestone Jun 23, 2023
@nilmerg nilmerg self-assigned this Jun 23, 2023
@cla-bot cla-bot bot added the cla/signed label Jun 23, 2023
@nilmerg nilmerg merged commit 492f361 into main Jun 23, 2023
@nilmerg nilmerg deleted the change-form-elements-default-flags-visibility branch June 23, 2023 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cla/signed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant