-
Notifications
You must be signed in to change notification settings - Fork 28
Description
This is an example bug report that shows clear reproducible steps.
Issue tracker is ONLY used for reporting bugs. New feature suggestions and questions should be discussed on Community or submitted through our user feedback form.
Your issue may already be reported! Please search in the issue tracker before creating one.
Please thumbs up this issue if you have also experienced it. You may also add more information if there is something relevant that was not mentioned. However, please refrain from comments that are not constructive, like "I have this problem too", etc.
Expected behavior (required)
Invalid page names should be rejected so that they don't cause project build failures. At least a project error should be shown so that the user can diagnose the issue.
Current behavior (required)
Even though an error message is shown, invalid page names are still saved. The project will fail to build, but no project errors are shown.
To Reproduce (required)
Steps to reproduce the behavior:
- Create a page.
- Double click the name of the page on the page selection panel.
- Set the name to something invalid, e.g. 0HomePage (invalid because the name can't start with a digit).
- Observe the error message.
- Press enter.
- Observe that the name is saved.
- Click "Test".
- Observe that project says "Build Failed". Observe that there are no project errors in the workspace.
Context (required)
N/A
Screenshots / recordings
N/A
Your environment
- Version of FlutterFlow used: 3.0.0
- Platform (e.g. Web, MacOS Desktop): Web
- Browser name and version: Chrome Version 105.0.5195.125
- Operating system and version (desktop or mobile): MacOS