Fixes #19
Some changes were made across the file. There was a new state property added, fields, that stores all fields from props. This is necessary because we want to remove fields that can be visible and then hidden. This was not possible before. With this change we can also update the options in select if they depend on the value of other field.
Fixes #19 Some changes were made across the file. There was a new state property added,
fields
, that stores all fields fromprops
. This is necessary because we want to remove fields that can be visible and then hidden. This was not possible before. With this change we can also update the options inselect
if they depend on the value of other field.