Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix admin can't create record #33

Merged
merged 6 commits into from
Dec 11, 2023
Merged

Conversation

kostobog
Copy link

@kostobog kostobog commented Dec 7, 2023

Fix #25
Solution:

  1. on records page admin clicks create record
  2. the create/record page is displayed where admin can select the form template
  3. after form template is selected the form template field is disabled and the selected form is loaded from the backend
  4. The loader component is shown after the selection of the form template and removed after the form is loaded from the backend.

@kostobog kostobog requested review from blcham and LaChope December 7, 2023 11:13
@kostobog kostobog changed the title Fix admin cant create record Fix admin can't create record Dec 7, 2023
Copy link

@blcham blcham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comment.

js/components/record/TypeaheadAnswer.js Outdated Show resolved Hide resolved
- add isDisabled to TypeaheadAnswer.propTypes
@kostobog kostobog requested a review from blcham December 11, 2023 14:58
@blcham blcham merged commit 0f38ac0 into main Dec 11, 2023
2 checks passed
@blcham blcham deleted the issues/25-admin-cant-create-record branch December 12, 2023 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

It is not possible to create record as Admin
2 participants