Show attribute on texfields doesn't work as expected
jersiovic opened this issue · 4 comments
jersiovic commented
dsuryd commented
The show
attribute is only supported by Button at least in the current version. I have reservation to include it in other elements, because the conditional React syntax has better rendering efficiency:
<Panel>
{!edit() && <Button label="Go to" />}
</Panel>
jersiovic commented
thank you
jersiovic commented
to make things more predecible, why don't you remove it also from buttons?
dsuryd commented
Good point. I will consider it. Thanks!