Using Angular Xeditable is it possible to automatically set the data type to URL (so that <input type="url">
) within the xeditable?
What's a good way to do this without external libraries using onbeforesave
if Xeditable doesn't support it?
I think you just have to user editable-url
and then assign it the name of attribute you want to bind it with. That should do what you want.
<a href="#" editable-url="user.url">{{ user.url || 'empty' }}</a>
Check this fiddle.