-
- Downloads
[FIX] web: check if record in component props is defined since it is optional
Before this commit, when a component using the `useInputField` hook (for instance `TextField`) and the `record` is not given in its props, the hook will crash since it assume the `record` is always defined. However, the props definition the `record` is optional. This commit checks if `record` is defined in the component before using it to be sure to avoid any crash because it is not defined. task-2947516
Loading
Please register or sign in to comment