Using suffix/prefix actions with TextEntry in an infolist doesn't work if the state is empty.

I wanted to create a button/modal to add information when the state is empty. I ended up with a workaround by creating 2, one with action()/placeholder() and one that shows the information with visible/hidden to alternate them. I dove into the TextEntry class and it bails before adding affix actions. I'm wondering if this is by design or just an oversight.
1 Reply
skeemer
skeemerOP2w ago
This might be related to https://discord.com/channels/883083792112300104/1435925267007799368 in a way because of how when state is null, it uses a different rendering.

Did you find this page helpful?