跳至內容
選單
此問題已被標幟
1 回覆
3220 瀏覽次數
<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
頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
4月 20
3780
2
8月 20
3288
0
11月 19
3126
1
7月 24
2245
4
5月 24
12702