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.72k forks source link

max length option for text input #1011

Closed ShahnazK closed 7 years ago

ShahnazK commented 7 years ago

I believe there is no such option to set the max length for text input. we need to validate manually. can you please add that as an option so that developer can set?

MarQuisKnox commented 7 years ago

It has been added: https://github.com/vitalets/x-editable/pull/990/files

ShahnazK commented 7 years ago

it's not working for me, i have created fiddle to show this. can you please tell me what i am doing wrong here?

MarQuisKnox commented 7 years ago

The correct JS file is dist/bootstrap-editable/js/bootstrap-editable.js

ShahnazK commented 7 years ago

after adding this version i am getting $.fn.popover.defaults is undefined. when this update will be available for latest CDN js?