Fix readonlys were claiming to be dirty

This commit is contained in:
nathan 2022-07-15 09:21:48 -06:00
parent 057a4559cb
commit 3d386edbac

View File

@ -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)
{