Project

General

Profile

Actions

Improvements #13509

closed
MV RM

Look at Dbo Form validator/delegate access

Improvements #13509: Look at Dbo Form validator/delegate access

Added by Matthias Van Ceulebroeck over 1 year ago. Updated 11 months ago.

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

100%

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.

RM Updated by Romain Mardulyn over 1 year ago Actions #1

  • Status changed from New to InProgress
  • Assignee set to Romain Mardulyn

RM Updated by Romain Mardulyn over 1 year ago Actions #2

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

MV Updated by Matthias Van Ceulebroeck about 1 year ago Actions #3

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

MV Updated by Matthias Van Ceulebroeck 12 months ago Actions #4

  • Status changed from Review to Implemented @Emweb
  • Assignee changed from Matthias Van Ceulebroeck to Romain Mardulyn
  • % Done changed from 0 to 100

MV Updated by Matthias Van Ceulebroeck 11 months ago Actions #5

  • Status changed from Implemented @Emweb to Implemented @Test

MV Updated by Matthias Van Ceulebroeck 11 months ago Actions #6

  • Status changed from Implemented @Test to Closed
Actions

Also available in: PDF Atom