x-editable - adjusting the width of input field

后端 未结 6 1093
慢半拍i
慢半拍i 2021-02-12 15:27

How do you adjust the input width of the popup

it doesn\'t seem like there is any option for it in

http://vitalets.github.io/x-editable/docs.html#text

6条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-12 15:47

    If you don't want to change the .css file, you can set the style of the x-editable input field by changing its template:

    awesome
    
    

    Note the 'tpl' attribute.

提交回复
热议问题