We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I tried to create a TbPanel with a single button with a url:
$this->beginWidget('booster.widgets.TbPanel', array( 'title' => 'SomeTitle', 'headerButtons' => array( array( 'class' => 'booster.widgets.TbButton', 'label' => 'Neu', 'context' => 'primary', 'size' => 'small', 'url' => '/someurl', ), ) ) )
With this code I get blue button, but w/o a link. If I add buttonType, I get a link, but it is no longer a blue button.
$this->beginWidget('booster.widgets.TbPanel', array( 'title' => 'SomeTitle', 'headerButtons' => array( array( 'class' => 'booster.widgets.TbButton', 'label' => 'Neu', 'context' => 'primary', 'size' => 'small', 'buttonType' =>'link', 'url' => '/someurl', ), ) ) )
Is this a bug or a feature?
The text was updated successfully, but these errors were encountered:
This is an old question but someone might have the same problem and find this answer helpful:
$this->beginWidget('booster.widgets.TbPanel', array( 'title' => 'SomeTitle', 'headerButtons' => array( array( 'class' => 'booster.widgets.TbButton', 'label' => 'Neu', 'context' => 'primary', 'size' => 'small', 'htmlOptions'=>array( 'submit' => Yii::app()->createUrl('controller/action') ) ), ) ) )
Sorry, something went wrong.
No branches or pull requests
Hi,
I tried to create a TbPanel with a single button with a url:
With this code I get blue button, but w/o a link. If I add buttonType, I get a link, but it is no longer a blue button.
Is this a bug or a feature?
The text was updated successfully, but these errors were encountered: