Lookup value against a text input and disable or enable displaymode

PHOTO EMBED

Sat Jul 23 2022 14:14:46 GMT+0000 (Coordinated Universal Time)

Saved by @gofunk1 #powerapps #displaymode #lookup

If(IsBlank(LookUp('OSS Comments' , Comments = TextInput3.Text)), DisplayMode.Edit, DisplayMode.Disabled)

or

If(IsBlank(LookUp('OSS Comments' , Comments = "ABCD")), DisplayMode.Edit, DisplayMode.Disabled)
content_copyCOPY

https://powerusers.microsoft.com/t5/Building-Power-Apps/Display-mode-disabled-if-SharePoint-record-exists/m-p/808951#M257951