Skip to content

Commit

Permalink
Merge branch 'hotfix-10.8.23' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicWatson committed Jul 7, 2017
2 parents f89e26b + ba9ed67 commit 59f241b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/views/formcontrols/spinner/index.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
inputClass = args.class ?: "";
placeholder = args.placeholder ?: "";
defaultValue = args.defaultValue ?: "";
minValue = Val( args.minValue ?: 0 );
minValue = args.minValue ?: "";
maxValue = args.maxValue ?: "";
step = Val( args.step ?: 1 );
Expand All @@ -17,5 +17,5 @@
</cfscript>

<cfoutput>
<input type="number" id="#inputId#" class="#inputClass#" name="#inputName#" value="#value#" min="#minValue#" max="#maxValue#" step="#step#" tabindex="#getNextTabIndex()#">
<input type="number" id="#inputId#" class="#inputClass#" name="#inputName#" value="#value#"<cfif isNumeric( minValue )> min="#minValue#"</cfif><cfif isNumeric( maxValue )> max="#maxValue#"</cfif> step="#step#" tabindex="#getNextTabIndex()#">
</cfoutput>

0 comments on commit 59f241b

Please sign in to comment.