App Designer editfield format not respected during entry
Show older comments
When I create EditFields to display numbers in the (custom) format '%.1e', i.e. 10^-6 it is rendered as "1.0e-06" and 10^-10 as "1.0e-10".
However, the behavior is very strange: As soon as one clicks into an EditField to change the value, the display format changes... "1.0e-06" all of a sudden switches to "0.000001", and "1.0e-10" to "1e-10" (i.e. it swallows the decimal). Once the new values are entered, they are again displayed in the correct format, but the back-and-forth switching during entry is very confusing for the user.
How can I maintain consistent formatting whether the EditField is clicked or not?
Accepted Answer
More Answers (0)
Categories
Find more on Variables in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!