Skip to content

Checkbox handler #669

Discussion options

You must be logged in to vote

You can access the store in the set handler.

<Checkbox
      value={{
        bind: "$record.selected",
        set: (value, { store }) => {
          let record = store.get("$record"); //access to the record
          store.set("$record.selected", value);
        }
      }}
    >
      Test
    </Checkbox>

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@BesnikMahmuti-Prosperoware
Comment options

Comment options

You must be logged in to vote
1 reply
@BesnikMahmuti-Prosperoware
Comment options

Answer selected by BesnikMahmuti-Prosperoware
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants