As a user I want to set a static value in a read-only text field
See original GitHub issueIs 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:
- Created 2 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.You’re probably right, that seems to be not related to a specific platform 👍