Skip to content

Commit e9f9be2

Browse files
committed
Added "manual-input" property in the demo Playground.
1 parent fa70039 commit e9f9be2

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

demo/src/components/Playground.vue

+18
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export default {
6868
disablePicker: false,
6969
closeOnComplete: false,
7070
advancedKeyboard: false,
71+
manualInput: false,
7172
lazyMode: false,
7273
autoScroll: false,
7374
debugMode: false,
@@ -176,6 +177,10 @@ export default {
176177
start += ('\n advanced-keyboard')
177178
}
178179
180+
if (this.manualInput) {
181+
start += ('\n manual-input')
182+
}
183+
179184
if (this.hideClearBtn) {
180185
start += ('\n hide-clear-button')
181186
}
@@ -750,6 +755,18 @@ section#playground
750755
input(v-model="advancedKeyboard" type="radio" id="advanced_kb_false" name="advanced_kb", :value="false")
751756
|  Disable
752757

758+
#manualInput.config-block
759+
h3.subtitle
760+
a.anchor #
761+
| Manually Input Support
762+
config-row(is-group)
763+
label.options(for="manual_input_true")
764+
input(v-model="manualInput" type="radio" id="manual_input_true" name="manual_input", :value="true")
765+
|  Enable
766+
label.options(for="manual_input_false")
767+
input(v-model="manualInput" type="radio" id="manual_input_false" name="manual_input", :value="false")
768+
|  Disable
769+
753770
#blurDelay.config-block
754771
h3.subtitle
755772
a.anchor #
@@ -791,6 +808,7 @@ section#playground
791808
:second-range="(showSeconds && customRange.second) ? secondRange : null"
792809
:close-on-complete="closeOnComplete"
793810
:advanced-keyboard="advancedKeyboard"
811+
:manual-input="manualInput"
794812
:blur-delay="blurDelay"
795813
:hide-clear-button="hideClearBtn"
796814
:disabled="disablePicker"

0 commit comments

Comments
 (0)