Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3246 Lượt xem
<field name="input_quantity"  widget="float_toggle" options='{"range" :[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]}'/>

here is a specific range but I want to range value will be infinite
Can you help me
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi Arjun:

You cannot have an "infinite range" with this widget. The documentation explicitly states "The purpose here is to restrict the field value to a predefined selection."

Source: Field Widgets

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 4 20
3789
2
thg 8 20
3296
0
thg 11 19
3137
1
thg 7 24
2277
4
thg 5 24
12737