When submit task, validation doesn't work

Dear experts,

I have a PM with user input task, in task form, I define one submit button, which submit is true, validation is true, in this task form, it have a child interface, which have a paragraph field which required is true. However when I keep this paragraph field as empty and press the submit button, user input task completed, PM completed, no validation here. What maybe the possible reason here?

  Discussion posts and replies are publicly visible

Parents Reply Children
  • Button in the task form:

    a!buttonWidget_23r3(
    label: "submit",
    value: "submit",
    saveInto: {
    ri!buttonAction
    },
    submit: true(),
    style: "PRIMARY",
    validate: true(),

    )

    Paragraph field in child interface:

    a!paragraphField(
    value: trim(local!rationale),
    required: true(),
    saveInto: {
      a!save(
      local!rationale,
       trim(save!value)
      ),
    ),
    characterLimit: 1000,
    showCharacterCount: true()
    )