Anywhere in your template/module options make a new field
<field
name="testrange"
type="range"
label="Test Range"
description="Test range desc"
min="-10"
max="10"
step="0.1"
class=""
default="0"
/>
Check module/template admin form
Expecting the form play nice with 0 (zero) values and default values.
Joomla 3.9.6
php 7.3.4
mysqlnd 5.0.12-dev
Possibly related to #8928, I tested the number
field with same settings, all good. Going to settle there for now.
Labels |
Added:
?
|
Labels |
Added:
J3 Issue
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-05-17 17:47:48 |
Closed_By | ⇒ | joomla-cms-bot |
Closed_By | joomla-cms-bot | ⇒ | Quy |
Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/24938
Test PR #24939 please.