Skip to content

Commit

Permalink
Ensure that $slot is set
Browse files Browse the repository at this point in the history
  • Loading branch information
inxilpro committed Nov 1, 2018
1 parent 396dd91 commit 4a6e724
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/DTD/Button.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
class Button extends Element
{
public $name = 'button';

protected $view_data = [
'slot' => null,
];

/**
* Set the 'autofocus' flag
Expand Down

0 comments on commit 4a6e724

Please sign in to comment.