show help text for textareas as well w/ burnettk
This commit is contained in:
parent
769cc4126c
commit
c6b45dbdc3
|
@ -1280,6 +1280,7 @@ class ProcessInstanceProcessor:
|
|||
# by background processing. when that happens it can potentially overwrite
|
||||
# human tasks which is bad because we cache them with the previous id's.
|
||||
# waiting_tasks = bpmn_process_instance.get_tasks(TaskState.WAITING)
|
||||
# waiting_tasks = bpmn_process_instance.get_waiting()
|
||||
# if len(waiting_tasks) > 0:
|
||||
# return ProcessInstanceStatus.waiting
|
||||
if len(user_tasks) > 0:
|
||||
|
|
|
@ -61,6 +61,11 @@ function TextareaWidget<
|
|||
labelToUse = `${labelToUse}*`;
|
||||
}
|
||||
|
||||
let helperText = null;
|
||||
if (uiSchema && uiSchema['ui:help']) {
|
||||
helperText = uiSchema['ui:help'];
|
||||
}
|
||||
|
||||
let invalid = false;
|
||||
let errorMessageForField = null;
|
||||
if (rawErrors && rawErrors.length > 0) {
|
||||
|
@ -73,6 +78,7 @@ function TextareaWidget<
|
|||
id={id}
|
||||
name={id}
|
||||
className="text-input"
|
||||
helperText={helperText}
|
||||
value={value || ''}
|
||||
labelText=""
|
||||
placeholder={placeholder}
|
||||
|
|
Loading…
Reference in New Issue