Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text and Value properties of an Edit are not consistent with each other or the displayed text in the GUI #337

Open
mkromberg opened this issue Jan 2, 2025 · 0 comments
Milestone

Comments

@mkromberg
Copy link
Collaborator

Run DemoGrids.

  1. Notice that the F1.TableSize edit field is blank, although the application has sent

{"WC":{"ID":"F1.TableSize","Properties":{"Event":[["Change",""]],"FieldType":"Numeric","Posn":[210,10],"Size":[23,100],"Text":"10","Type":"Edit"}}}, and also verified that Text and Value are identical:

image

Q: {"WG":{"ID":"F1.TableSize","Properties":["Value","Text"],"WGID":"40"}}
A: {"WG":{"ID":"F1.TableSize","Properties":{"Value":10,"Text":"10"},"WGID":"40"}}

  1. Type "9" into this field and hit the Calc button. Notice in the log:

Q: {"WG":{"ID":"F1.TableSize","Properties":["Value","Text"],"WGID":"45"}}
A: {"WG":{"ID":"F1.TableSize","Properties":{"Value":9,"Text":"10"},"WGID":"45"}}
And a warning: *** Value and Text of F1.TableSize do not match

@mkromberg mkromberg added this to the Blocking milestone Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant