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

Commit

Permalink
Fixed subform label not rendering correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebronner committed Apr 20, 2020
1 parent cb88208 commit 3657ec6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [0.11.14] - 2020-04-20
### Fixed
- subform label not rendering correctly.

## [0.11.13] - 2020-04-20
### WIP

## [0.11.12] - 2020-04-20
### Fixed
- submit button label on subforms.
Expand Down
2 changes: 1 addition & 1 deletion resources/views/livewire/combobox.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class="mt-4 mb-8 border-4 border-blue-400 rounded-lg"
@form
@include ($createFormView)
<div class="flex">
@button ("Add New {{ $label }}", ["x-on:click" => "submitForm('" . \Illuminate\Support\Str::slug($label) . "-" . $key . "', '" . $key . "', '" . \Illuminate\Support\Str::slug($label) . "');", "class" => "button button-primary button-outlined"])
@button ("Add New {$label}", ["x-on:click" => "submitForm('" . \Illuminate\Support\Str::slug($label) . "-" . $key . "', '" . $key . "', '" . \Illuminate\Support\Str::slug($label) . "');", "class" => "button button-primary button-outlined"])
@button ("Cancel", ["wire:click" => "cancelForm('{$key}')", "class" => "button button-secondary button-link"])
</div>
@endform
Expand Down

0 comments on commit 3657ec6

Please sign in to comment.