You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,7 @@
34
34
- Format monetary values using the `money` property to specify columns and `currency` to set the currency.
35
35
- Control decimal places with `number_format_digits` property.
36
36
- Add a new `description_md` row-level property to the form component to allow displaying markdown in a form field description.
37
+
- Improve the error message when a header component (e.g. status_code, json, cookie) is used in the wrong place (after data has already been sent to the client).
bail!("The {component_name} component cannot be used after data has already been sent to the client's browser. \
711
-
This component must be used before any other component. \
712
-
To fix this, either move the call to the '{component_name}' component to the top of the SQL file, or create a new SQL file where '{component_name}' is the first component.");
713
-
}
714
-
(_,Some(c))ifSelf::is_shell_component(c) => {
715
-
bail!("There cannot be more than a single shell per page. \n\
716
-
You are trying to open the {c:?} component, but a shell component is already opened for the current page. \n\
717
-
You can fix this by removing the extra shell component, or by moving this component to the top of the SQL file, before any other component that displays data. \n")
bail!("There cannot be more than a single shell per page. You are trying to open the {} component, but a shell component is already opened for the current page. You can fix this by removing the extra shell component, or by moving this component to the top of the SQL file, before any other component that displays data.", comp_str);
0 commit comments