Skip to content

Instantly share code, notes, and snippets.

View EdnaldoNeimeg's full-sized avatar

Ednaldo Neimeg Marques EdnaldoNeimeg

View GitHub Profile
@EdnaldoNeimeg
EdnaldoNeimeg / bootstrap4-editable.js
Last active March 25, 2021 08:54
Fix x-editable for Bootstrap 4 - Using Tether
/*! X-editable - v1.5.1
* In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery
* http://github.com/vitalets/x-editable
* Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */
/**
Form with single input element, two buttons and two states: normal/loading.
Applied as jQuery method to DIV tag (not to form tag!). This is because form can be in loading state when spinner shown.
Editableform is linked with one of input types, e.g. 'text', 'select' etc.
@class editableform