Course lesson

Use the readField helper to get the ID of items in read field policies

In the previous lesson, we were always returning true for whether a note is selected or not. In this lesson, we'll look at how to make that dynamic, based on the ID of the current note being read. For that, we'll explore the "readField" helper that gets...

Duration
1 min
Access
Pro
Transcript
Available

In the previous lesson, we were always returning true for whether a note is selected or not. In this lesson, we'll look at how to make that dynamic, based on the ID of the current note being read. For that, we'll explore the "readField" helper that gets passed in to our "read" field policy callback, and use it to read the ID property of the current note.