Ticket #171 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

Validation happens on field that is hidden by the case-control

Reported by: bc Owned by: mpo
Priority: major Milestone: 0.4
Component: modules/kauri-forms Version: trunk
Keywords: Cc:

Description

When using a case-control in combination with a selection-control, it's possible that a validation error is shown despite the fact that the field with the validation-error is hidden by the case control.
When you have 2 (or more) cases and the hidden case has a selection-control, then it seems that the validation (for all the fields in the hidden composite field) occurs when the ajax-call returns the values for the list.

I have attached a sample application which illustrates this. ( start locally and open URL http://localhost:8888/business).

A little side-remark, the validation-error has no cssinfo which indicates that this is an error, so specific markup (e.g. displaying in red) is difficult.

Attachments

kauri-case.zip (43.6 KB) - added by bc 4 years ago.

Change History

Changed 4 years ago by bc

comment:1 Changed 4 years ago by mpo

  • Milestone changed from 0.3.1 to 0.4

comment:2 Changed 3 years ago by bc

Seems to be fixed in the current version.

comment:3 Changed 3 years ago by jgou

  • Status changed from new to closed
  • Resolution set to fixed

thanks for verifying

Note: See TracTickets for help on using tickets.