forked from extern/egroupware
Fix readonlys were claiming to be dirty
This commit is contained in:
parent
057a4559cb
commit
3d386edbac
@ -236,6 +236,12 @@ const Et2InputWidgetMixin = <T extends Constructor<LitElement>>(superclass : T)
|
||||
|
||||
isDirty()
|
||||
{
|
||||
// Readonly can't be dirty, it can't change
|
||||
if(this.readOnly)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
let value = this.getValue();
|
||||
if(typeof value !== typeof this._oldValue)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user