How to maintain whitespace?

I’m using enum-list with statements in Detail View using quick edit to show if a certain checklist has been completed. I try to space out the buttons using whitespace to make the enum button list look better, but it AppSheet does not update the column with the starting whitespace, and it ignores the trim when reading the column. This means the highlighted checklists with whitespace will disappear after a couple seconds. Is there a way to work around this simply? Or is there a way to format buttons in an enum button type? This is my current solution.

I’m afraid you don’t have control for that other than trial & error.

1 Like

Hi @Seung_Park Please consider using another kind of whitespace. Cou can find them here:

I’m using the “figure space”.

Please also see my Post here:

[Choosing walls that should be calculated with EnumList](https://community.appsheet.com/t/choosing-walls-that-should-be-calculated-with-enumlist/23329) Tips & Tricks ?

Imagine you are a painter and have to select which walls to paint. You enter the Length, Width and High of the room and then you can choose the walls to be included in the calculation “Walls area (m²)”. [Walls] This is the expression in the EnumList Suggested_Values: LIST( " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", …

3 Likes

Appsheet doesnt automatically trim whitespace from text input fields. I believe it used to do so?
In the screenshot, fields “Phone” and “Neighbourhood” have spaces, so they are displayed in the record.

I saw the same change in LongText.

[Clarification on differences between Text and Long Text](https://community.appsheet.com/t/clarification-on-differences-between-text-and-long-text/23576/11) Questions

I have the same problem in my PDF reports. That’s why I use this expression to limit the user to enter max. 6 NewLines. It was once a Hint from @Aleksi in good old Google+ times saying: Basically you could find all paragraph breaks if you split the string one by one. I’m saying this… find the first one and split it with the combination of LEFT and RIGHT expressions. When you have that 6 times, you should not able to find any more. If TRUE, the user has added too many. FIND(" " ,…

The Line Break at the end of LongText was ignored by AppSheet. This is no more the case.

You can use this website to copy/paste special white space characters easily.
https://beautifuldingbats.com/whitespace/

1 Like

Are we calling it a Bug?
Will AppSheet accept that the default behaviour (documented) has changed?
Will they fix it or indicate some kind of workaround?

Legitimate questions, I’d say. Please reach out to support@appsheet.com for answers.

1 Like