#Disabled Input and JSON Form fields hard to see

1 messages · Page 1 of 1 (latest)

lucid linden
#

I have a client that I am making Read-Only forms for. In one page I used JSON Form, in another I used a legacy form with Input widgets. At first I did not disable them, so when he opened the forms it looked like you could update the fields. He did not want that, so I disabled the fields. Then the text was too light for his taste. So the only solution I can come up with, given my limited abilities, is to use Text Widgets and create a label and a value for each field. Is there any other solution out there that I'm not thinking of? Thanks in advance!

dry shadowBOT
#

Text widgets are the way to go here it seems. I would design a nice data display
page/container/modal and tweak it to their liking. What is your preferred
outcome here?

lucid linden
#

I'd prefer the flexibility to adjust the contrast for the disabled fields. That would make my life simpler and meet the needs of the client. Not happening, I know. So Text widgets it is unless some other way to go appears. Really the issue is maintainability in my mind. I doubled the number of widgets I've got to deal with. However, not the end of the world.

dry shadowBOT
#

Well don't forget you can use JS bindings in text widgets to display their
values. You could do something like My Label: {{myWidget.prop}}