Skip to content

Commit

Permalink
Merge pull request #693 from diegotibi/patch-1
Browse files Browse the repository at this point in the history
Fix float values
  • Loading branch information
shalvah authored Jun 30, 2023
2 parents 3062a11 + 195c897 commit 84bde95
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/views/components/field-details.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
</label>
@elseif($isList)
<input type="{{ $inputType }}" style="display: none"
@if($inputType === 'number')step="any"@endif
name="{{ $fullName."[0]" }}" @if($class)class="{{ $class }}"@endif
data-endpoint="{{ $endpointId }}"
data-component="{{ $component }}">
Expand All @@ -50,6 +51,7 @@
data-component="{{ $component }}">
@else
<input type="{{ $inputType }}" style="display: none"
@if($inputType === 'number')step="any"@endif
name="{{ $fullName }}" @if($class)class="{{ $class }}"@endif
data-endpoint="{{ $endpointId }}"
value="{!! (isset($example) && (is_string($example) || is_numeric($example))) ? $example : '' !!}"
Expand Down

0 comments on commit 84bde95

Please sign in to comment.