Project

General

Profile

Actions

Improvements #13509

open

Look at Dbo Form validator/delegate access

Added by Matthias Van Ceulebroeck 7 months ago. Updated 8 days ago.

Status:
Review
Priority:
Normal
Target version:
Start date:
02/11/2025
Due date:
% Done:

0%

Estimated time:

Description

Currently, when creating a Form::Dbo::FormView, we can initially customize the validator or the widget itself. However, this can only be done one.
If we want further customization in later updates, we are stuck. We have to recreate the whole Form::Dbo::FormView.

This seems needlessly restrictive, we should have access to the validator, like WFormView::setValidator().
Since the delegate is the item that decides how the widget ought to be instantiated (and also what validator is attached), we can look at allowing this to be customized as well.

Note: the latter may affect the validator as well, so this should be well documented.

Actions #1

Updated by Romain Mardulyn 4 months ago

  • Status changed from New to InProgress
  • Assignee set to Romain Mardulyn
Actions #2

Updated by Romain Mardulyn 4 months ago

  • Status changed from InProgress to Review
  • Assignee deleted (Romain Mardulyn)
Actions #3

Updated by Matthias Van Ceulebroeck 8 days ago

  • Assignee set to Matthias Van Ceulebroeck
  • Private changed from Yes to No
Actions

Also available in: Atom PDF