Closed MooDySmiles closed 7 years ago
It's possible. Do you need the styles to dynamically change between enabled/disabled?
Yes, something like "editable-disabled" to be added runtime when edit-disable="true" and to be removed when edit-disable="false"
I tried watching the editable-disabled attribute and changing the classes, but I couldn't get it to work right. I could give you a one time shot css when the element is loaded the first time. Or, you could add some styling yourself by adding a class based upon the same criteria you are using for the editable-disabled attribute.
It's pretty useless for us give it css when the element is loaded the firts time. Right now it isn't a fundamental feature, so we'll work on it when we'll have the time.
Thanks for your time! :smiley:
@MooDySmiles did you figure out a fix for this?
@ckosloski we hacked that by placing a span (with ngIf) when we want xeditable to be disabled. We have been moved onto a new whole project, so I don't think we will be able to do any progress on this, sorry :disappointed:
@MooDySmiles Do you want to close this issue then?
If it's okay for you, it's okay for me.
Hi!
Is it possible to add a "disabled" css class to the Xeditable element (when it is disabled)? It would be really helpful to have a css class like that in order to adjust the appearance of the element.
Right now the style is the same, whenever it is enabled or disabled.