Make label overrideable in formField so that required fields
can be highlighted with an asterisk in the Profile tab for Operation/User.pm
This commit is contained in:
parent
e7b1b16efc
commit
156de5ea88
2 changed files with 3 additions and 2 deletions
|
|
@ -124,7 +124,7 @@ sub formField {
|
|||
my $self = shift;
|
||||
my $properties = shift || {};
|
||||
my $withWrapper = shift;
|
||||
$properties->{label} = $self->getLabel;
|
||||
$properties->{label} = $self->getLabel unless $properties->{label};
|
||||
$properties->{fieldType} = $self->get("fieldType");
|
||||
$properties->{name} = $self->getId;
|
||||
my $values = WebGUI::Operation::Shared::secureEval($self->get("possibleValues")) || {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue