Backend Query null value /// reload page

hey guys,

sorry for all the questions:D

Backend query null value.

  1. I want to query an adress document from a reference stored in an app state. I get an unexpected null value error when the app state is empty.

    I tried to set a default value for every field I want to get information from, but that does not work,

    It needs to be empty when users first create an account.

    How can I prevent the error when value is empty?

  2. Reload page

    I want to reload the page when I click on a checkbox to reread the initial value of every checkbox on the page.

    I do this through navigating to the same page. But it only does this 1 time. After that it does not reload again?

    How can I get it to reload every time?

    Appreciate your help

5 replies