Skip to content

Commit 2636157

Browse files
tjvantollscottgonzalez
authored andcommitted
Datepicker / Spinner: Document inability to use new input types. Fixes #109.
1 parent 13b5fab commit 2636157

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

entries/datepicker.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@
189189
</longdesc>
190190
<note id="functional-css"/>
191191
<note id="native-change-warning"/>
192+
<note>
193+
Creating a datepicker on an <code>&lt;input type="date"&gt;</code> is not supported due to a UI conflict with the native picker.
194+
</note>
192195
<added>1.0</added>
193196
<options>
194197
<option name="altField" default='""' example-value='"#actualDate"'>

entries/spinner.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
</longdesc>
3131
<note id="functional-css"/>
3232
<note id="native-change-warning"/>
33+
<note>
34+
Creating a spinner on an <code>&lt;input type="number"&gt;</code> is not supported due to a UI conflict with the native spinner.
35+
</note>
3336
<added>1.9</added>
3437
<options>
3538
<option name="culture" type="String" default="null" example-value='"fr"'>

notes.xsl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
<xsl:when test="@id = 'native-change-warning'">
88
This widget manipulates its element's value programmatically, therefore a native change event may not be fired when the element's value changes.
99
</xsl:when>
10+
<xsl:otherwise>
11+
<xsl:apply-templates/>
12+
</xsl:otherwise>
1013
</xsl:choose>
1114
</xsl:template>
1215
</xsl:stylesheet>

0 commit comments

Comments
 (0)