1
0
-1

i found some bug about dependency input.

section 1 display by default have 2 input

  • radio
  • selectbox with radio dependency relation

section 2 when show hide section 1

if

  1. select radio and value in selectbox
  2. change value in visible to 2
  3. change value in visible to 3
  4. you can seem selectbox is lost focus

sample form JSON Definition

{"className":"org.joget.apps.form.model.Form","properties":{"id":"dependencyBug","loadBinder":{"className":"org.joget.apps.form.lib.WorkflowFormBinder","properties":{}},"description":"","tableName":"prototypes","postProcessorRunOn":"both","name":"Dependency Bug","postProcessor":{"className":"","properties":{}},"storeBinder":{"className":"org.joget.apps.form.lib.WorkflowFormBinder","properties":{}},"permission":{"className":"","properties":{}},"noPermissionMessage":""},"elements":[{"elements":[{"elements":[{"className":"org.joget.apps.form.lib.TextField","properties":{"id":"visible","workflowVariable":"","readonlyLabel":"","maxlength":"","encryption":"","validator":{"className":"","properties":{}},"value":"","label":"visible","readonly":"","size":""}}],"className":"org.joget.apps.form.model.Column","properties":{"width":"100%"}}],"className":"org.joget.apps.form.model.Section","properties":{"id":"section1","loadBinder":{"className":"","properties":{}},"visibilityControl":"","regex":"","visibilityValue":"","storeBinder":{"className":"","properties":{}},"label":"Section","permission":{"className":"","properties":{}}}},{"elements":[{"elements":[{"className":"org.joget.apps.form.lib.Radio","properties":{"id":"dayType","readonlyLabel":"","workflowVariable":"","optionsBinder":{"className":"","properties":{}},"validator":{"className":"","properties":{}},"value":"","controlField":"","label":"Day Type","readonly":"","options":[{"grouping":"","value":"workday","label":"Workday"},{"grouping":"","value":"weekend","label":"Weekend"}]}},{"className":"org.joget.plugin.enterprise.MultiSelectBox","properties":{"id":"DayOfWeek","readonlyLabel":"","workflowVariable":"","optionsBinder":{"className":"","properties":{}},"validator":{"className":"","properties":{}},"value":"","controlField":"dayType","label":"Day Of Week","multiple":"","readonly":"","options":[{"grouping":"workday","value":"monday","label":"Monday"},{"grouping":"workday","value":"tuesday","label":"Tuesday"},{"grouping":"workday","value":"wednesday","label":"Wednesday"},{"grouping":"workday","value":"thursday","label":"Thursday"},{"grouping":"workday","value":"friday","label":"Friday"},{"grouping":"weekend","value":"saturday","label":"Saturday"},{"grouping":"weekend","value":"sunday","label":"Sunday"}],"size":""}}],"className":"org.joget.apps.form.model.Column","properties":{"width":"100%"}}],"className":"org.joget.apps.form.model.Section","properties":{"id":"section2","loadBinder":{"className":"","properties":{}},"visibilityControl":"visible","regex":"","visibilityValue":"1","storeBinder":{"className":"","properties":{}},"label":"Section 2 visible = 1","permission":{"className":"","properties":{}}}},{"elements":[{"elements":[],"className":"org.joget.apps.form.model.Column","properties":{"width":"100%"}}],"className":"org.joget.apps.form.model.Section","properties":{"id":"section3","loadBinder":{"className":"","properties":{}},"visibilityControl":"visible","regex":"","visibilityValue":"2","storeBinder":{"className":"","properties":{}},"label":"Section 3 visible = 2","permission":{"className":"","properties":{}}}}]}

regard

pitt phunsanit

 

  1. Hugo

    Thank you for reporting this. We will look into this.

CommentAdd your comment...

1 answer

  1.  
    1
    0
    -1

    Hi,

    Thank you for reporting this issue. The issue has been fixed and will be available in the next build version.

    Thank you.

      CommentAdd your comment...