#question# how to set a default value to the range type
See original GitHub issue <owl-date-time [disabled]="false" [locale]="zh_cn" [tabIndex]="1" [inputId]="'startdate'" [defaultMoment]="'2017.09.09 - 2017.09.20'" [dateFormat]="'YYYY.MM.DD'" [type]="'calendar'" [showButtons]="true" [selectionMode]="'range'" >
</owl-date-time>
I tried above , but not work … Anyone has the problem ?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Is there a way to set default value of range input to be empty?
I.e. if your current range is 0 to 10, make your range -1 to 10, then default the value to -1; on the...
Read more ><input type="range"> - HTML: HyperText Markup Language
The value won't be greater than max . The default is 100. The value will be a multiple of step . The default...
Read more >HTML DOM Input Range defaultValue Property - GeeksforGeeks
The Input Range defaultValue Property in HTML DOM is used to set or return the default value of the slider control.
Read more >HTML input type="range" - W3Schools
The <input type="range"> defines a control for entering a number whose exact value is not important (like a slider control). Default range is...
Read more >setting ranges as default values for a selection screen value
i have a selection screen parameter s_yywrpc. For this s_yywrpc i have to set some range of values as default values. Can u...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I solved this , when you want a default value using type
range
,you must give thengModel
a String[2], or Date[2] which has two items.bind to ngModel