vitalets / x-editable

In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery
http://vitalets.github.io/x-editable
MIT License
6.51k stars 1.73k forks source link

When I use inline mode,The date type return Empty. #1137

Open edenxu opened 5 years ago

edenxu commented 5 years ago

I use it in bootstrap-table.min.js + bootstrap-editable.js + bootstrap-table-editable.min.js

jht385 commented 4 years ago

I have the same problem. I don't know what the right solution is. Here's how it feels inefficient

` {

field: 'workDate', title: '日期',
editable: {
    type: 'date',//text|textarea|select|date|checklist
    mode: 'popup',//popup,inline
    emptytext: function (value, row) {
        return this.getAttribute('data-value').substring(0,10);
    }
}

}`