dependency with hide / show section

Confluence User - 12 Jun, 2018

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

 

forms

1


15 Jun, 2018
confluenceUser
confluenceUser

Hi,

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

Thank you.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print