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

Custom Inputs with multiple fields #532

Open John-Guan opened 10 years ago

John-Guan commented 10 years ago

Hello,

I am trying to use the Address input example in the demo of x-Editable and making my own input. What I am trying to do is if the Status field (Dropdown box) = "Condition Approval" or "Closed" then display a textarea to input the reason. However, I am lost right now I have no idea what else to do.. Also I ran into another problem is I can't make it work with Bootstrap 3 but works fine with Bootstrap 2

Bootstrap2 version: http://jsfiddle.net/5gbmz/1/

The exact same code but with Bootstrap3: http://jsfiddle.net/bZ6Bp/1/

Thanks

goharsahi commented 10 years ago

John-Guan

I'm able to make it work with bootstrap 3 on local wamp, but unable to reproduce it on jsFiddle. Anyways, I'm having another issue, when my form resizes, it pushes the [tick][X] buttons forward so that they float out of the popover. Anyone had an experience like this?