Skip to content

Commit

Permalink
Update enum_validation.php
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark authored Aug 21, 2024
1 parent c5c2727 commit 1b50514
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/Sandbox/templates/CakeExamples/enum_validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
?>

<h4>Submit a form</h4>
<?php echo $this->Form->create($user); ?>
<?php echo $this->Form->control('status'); ?>
<?php echo $this->Form->create($user, ['novalidate' => true]); ?>
<?php echo $this->Form->control('status', ['empty' => ' - please select - ']); ?>
<?php echo $this->Form->submit(); ?>
<?php echo $this->Form->end(); ?>

Expand Down

0 comments on commit 1b50514

Please sign in to comment.