Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

X-Editable - How to do "Custom input, several fields"

Tags:

x-editable

I am playing around with x-editable and I am wondering how they do the last example in their demo page.

http://vitalets.github.io/x-editable/demo-bs3.html?c=inline (Custom input, several fields)

I can't find any thing that actually shows you the code for each part. I only can dig through it with firebug but that is more time consuming and I rather just see the parts I need.

Any have the pieces of code that does it?

like image 315
chobo2 Avatar asked Apr 14 '14 23:04

chobo2


Video Answer


2 Answers

Yes, @marcb is right!

So here: https://github.com/vitalets/x-editable

Or to be exact: https://github.com/vitalets/x-editable/blob/master/src/inputs-ext/address/address.js

like image 139
Bart Avatar answered Sep 23 '22 05:09

Bart


The code for this can be found in the X-editable Bootstrap 3 download, under "inputs-ext", and then the "address" folder.

like image 32
marcb Avatar answered Sep 22 '22 05:09

marcb