Add validation constraint
FEA: ItEr61OTS04PlanificacionHaciaAtras
This commit is contained in:
parent
9f92c8a39e
commit
1be1eb1714
1 changed files with 3 additions and 0 deletions
|
|
@ -299,6 +299,9 @@ public class FormBinder {
|
|||
showValueOfDateOn(labelTaskEnd, task.getEndAsLocalDate());
|
||||
|
||||
this.taskWorkableDays = duration;
|
||||
taskWorkableDays.setConstraint(new SimpleConstraint(
|
||||
SimpleConstraint.NO_EMPTY | SimpleConstraint.NO_NEGATIVE));
|
||||
|
||||
taskWorkableDays.setValue(task.getWorkableDays());
|
||||
taskWorkableDays.addEventListener(Events.ON_CHANGE,
|
||||
new EventListener() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue