mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
Don't validate inputs that are disabled, in addition to readonly
This commit is contained in:
parent
358cc70d66
commit
5358bb5f6f
@ -516,7 +516,7 @@ const Et2InputWidgetMixin = <T extends Constructor<LitElement>>(superclass : T)
|
||||
*/
|
||||
async validate(skipManual = false)
|
||||
{
|
||||
if(this.readonly)
|
||||
if(this.readonly || this.disabled)
|
||||
{
|
||||
// Don't validate if the widget is read-only, there's nothing the user can do about it
|
||||
return Promise.resolve();
|
||||
|
Loading…
Reference in New Issue
Block a user