You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have the option to have an empty label, instead of all buttons just defaulting to have the text ui-btn when btn.label is falsey. I can think of a lot of situations in which an end user would prefer to just have a button that's just empty. I can think of almost 0 situations where the end user would prefer to have their button say ui-btn.
Edit: it is known by issue #1657 that you can hide the text by adding
primeng/src/app/components/button/button.ts
Line 34 in d06afd8
It would be nice to have the option to have an empty label, instead of all buttons just defaulting to have the text
ui-btn
whenbtn.label
is falsey. I can think of a lot of situations in which an end user would prefer to just have a button that's just empty. I can think of almost 0 situations where the end user would prefer to have their button sayui-btn
.Edit: it is known by issue #1657 that you can hide the text by adding
but it seems like this isn't necessarily the best solution.
Edit edit: I have opened a pull request for this issue here.
#4254
The text was updated successfully, but these errors were encountered: