Question

Check if a record needs a save

Hello,

How does the save button on an edit page know when to appear? This is the property I would like access to as well.

Thanks

Like 0

Like

1 comments
Best reply

You can use this to determine if the record needs saving (if the save button is showing)

if (this.get("ShowSaveButton")) {
    // needs saving
}

Ryan

You can use this to determine if the record needs saving (if the save button is showing)

if (this.get("ShowSaveButton")) {
    // needs saving
}

Ryan

Show all comments