Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
no star by default, if you need it use CSS instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
tacone committed Jun 24, 2016
1 parent b4c0d49 commit 5115804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataForm/Field/Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ public function build()
$this->has_wrapper = false;
}
$this->getValue();
$this->star = (!($this->status == "show") and $this->required) ? ' *' : '';
// $this->star = (!($this->status == "show") and $this->required) ? ' *' : '';
$this->req = (!($this->status == "show") and $this->required) ? ' required' : '';
if (($this->status == "hidden" || $this->visible === false || in_array($this->type, array("hidden", "auto")))) {
$this->is_hidden = true;
Expand Down

0 comments on commit 5115804

Please sign in to comment.