question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

As a user I want to set a static value in a read-only text field

See original GitHub issue

Is your feature request related to a problem? Please describe.

Often I want to provide additional context to the user about a task.

Describe the solution you’d like

Be able to set a static value (instead of a key that maps to a process variable) on a read-only text field.

Describe alternatives you’ve considered

A clear and concise description of any alternative solutions or features you’ve considered.

My current workaround is using input mappings to set the value of the key to some static value. This means the static definition is defined in the process, while it should probably belong in the form.

Additional context

  • It might be interesting to allow FEEL expressions directly instead of defining a key.
  • I’d expect a static value to be rendered directly in the modeller, also when this is a FEEL expression like = "foo"

Mentioned here.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
pinussilvestruscommented, Dec 6, 2022

This will be doable once we integrate https://github.com/bpmn-io/form-js/issues/436 (via form-js@0.10). I’m setting this as fixed upstream; feel free to disagree.

1reaction
pinussilvestruscommented, Jun 10, 2021

You’re probably right, that seems to be not related to a specific platform 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I make an input field read only but still have it send ...
I want the field to display on my form but don't want the user to be able to edit the field. When the...
Read more >
HTML input readonly Attribute - W3Schools
The readonly attribute can be set to keep a user from changing the value until some other conditions have been met (like selecting...
Read more >
readonly keyword - C# Reference - Microsoft Learn
You can assign a value to a readonly field only in the following ... In the static constructor of the class that contains...
Read more >
Static Value in text field in saving in other variable
A read-only text field just displays a value you feed in, it doesn't "have" a value to "get". Any static values you want...
Read more >
HTML attribute: readonly - HTML: HyperText Markup Language
If the readonly attribute is specified on an input element, because the user can not edit the input, the element does not participate...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found