Skip to content

Commit

Permalink
URL Menu Item Type link should be required.
Browse files Browse the repository at this point in the history
  • Loading branch information
infograf768 committed May 14, 2018
1 parent 88117e1 commit 04e9b9a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@
if ($this->item->type == 'url')
{
$this->form->setFieldAttribute('link', 'readonly', 'false');
$this->form->setFieldAttribute('link', 'required', 'true');
}

echo $this->form->renderField('link');
Expand Down

0 comments on commit 04e9b9a

Please sign in to comment.