x-editable - adjusting the width of input field

后端 未结 6 1092
慢半拍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:30

    you could use inputclass option to provide a CSS class, where you can add the width for input field, like

    awesome
    
    

    And css:

    .some_class{
       width: 240px;
    }
    

提交回复
热议问题