Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

x-editable in bootstrap 4?

I am currently exploring Bootstrap 4.

In Bootstrap 3, I had implemented inline editing using x-editable.

But for Bootstrap 4, I couldn't find how to implement inline editing.

Any suggestions?

like image 668
Bhushan Gadekar Avatar asked Nov 15 '16 14:11

Bhushan Gadekar


Video Answer


1 Answers

Works for me with this trick:

$.fn.editableform.buttons = '<button type="submit" class="btn btn-info editable-submit"><i class="fa fa-fw fa-check"></i></button>' + '<button type="button" class="btn editable-cancel"><i class="fa fa-fw fa-remove"></i></button>' ;
	
like image 106
user7346149 Avatar answered Oct 22 '22 12:10

user7346149