Opened 4 years ago

Last modified 4 months ago

#6239 new enhancement

IntroduceValidityChangeEvent

Reported by: Matti Tahvonen Owned by: ticketmaster
Priority: minor Milestone:
Component: Core Framework Version: 6.4.8
Keywords: Cc:
Depends on:
Workaround:
Verified: no
Fv: no Pro Account: Vote for Feature

Description

Form needs to update its errors based on validity of contained fields. To do this it currently listens value change events of its fields and does the housekeeping task there.

Problems with this approach:

  • excess form repaints. E.g. valid to valid value change in a contained field causes unnecessary tasks to be executed in the Form
  • customizing isValid() method may brake behavior in Form. See DateFields handling of a string that couldn't be parsed in to a Date. An extra hack is needed for cases where value remains null but invalid text content appears or disappears.

Change History (3)

comment:1 Changed 13 months ago by Artur Signell

  • Verified unset

comment:2 Changed 7 months ago by Artur Signell

  • Fv unset

comment:3 Changed 4 months ago by Artur Signell

  • Milestone Vaadin Backlog deleted

Milestone Vaadin Backlog deleted

Note: See TracTickets for help on using tickets.