Skip to content

[Form] Hide label button when its setted to false #24148

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

Closed
wants to merge 1 commit into from
Closed

[Form] Hide label button when its setted to false #24148

wants to merge 1 commit into from

Conversation

TeLiXj
Copy link
Contributor

@TeLiXj TeLiXj commented Sep 11, 2017

Q A
Branch? 2.7
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? no
Fixed tickets
License MIT
Doc PR

Added same behaviour in buttons like in other form components when label is setted to false, don't show it.
It's very useful with buttons with icon and without text.

Added same behaviour in buttons like in other form components when label is setted to false, don't show it. It's very useful with buttons with icon and without text
@fabpot
Copy link
Member

fabpot commented Sep 30, 2017

That's a new behavior, so merging it into 3.4 instead.

@fabpot
Copy link
Member

fabpot commented Sep 30, 2017

Thank you @TeLiXj.

fabpot added a commit that referenced this pull request Sep 30, 2017
…iXj)

This PR was submitted for the 2.7 branch but it was merged into the 3.4 branch instead (closes #24148).

Discussion
----------

[Form] Hide label button when its setted to false

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | no
| Fixed tickets |
| License       | MIT
| Doc PR        |

Added same behaviour in buttons like in other form components when label is setted to false, don't show it.
It's very useful with buttons with icon and without text.

Commits
-------

e319075 Hide label button when its setted to false
@fabpot fabpot closed this Sep 30, 2017
This was referenced Oct 18, 2017
fabpot pushed a commit that referenced this pull request Jan 17, 2018
Improve my previous contribution to hide button label when it's set to false (#24148) because a missing translation error appear
fabpot added a commit that referenced this pull request Jan 17, 2018
…se (TeLiXj)

This PR was submitted for the master branch but it was merged into the 3.4 branch instead (closes #25249).

Discussion
----------

[Form] Avoid button label translation when it's set to false

| Q             | A
| ------------- | ---
| Branch?       | 4.0
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | no
| Fixed tickets |
| License       | MIT
| Doc PR        |

Improve my previous contribution to hide button label when it's set to false (#24148) because a missing translation error appears

Commits
-------

368edd8 Avoid button label translation when it's set to false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants