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

New Control: Dynamic form #878

Closed
1 of 4 tasks
ravichandran-blog opened this issue Apr 15, 2021 · 11 comments
Closed
1 of 4 tasks

New Control: Dynamic form #878

ravichandran-blog opened this issue Apr 15, 2021 · 11 comments
Labels
status:fixed-next-drop Issue will be fixed in upcoming release. type:enhancement New feature or enhancement of existing capability
Milestone

Comments

@ravichandran-blog
Copy link
Contributor

ravichandran-blog commented Apr 15, 2021

Category

  • Idea
  • Enhancement
  • Bug
  • Question

Can we include the form control, which can automatically take care of everything and completely controlled by the SharePoint list settings,

I have already started to build this control, almost 80% done. as of now, control can be support all field types except location.

If listItemId is empty, zero or undefined then new item saved in the list else existing item will be updated

<DynamicForm context={this.props.context} listId={"3071c058-549f-461d-9d73-8b9a52049a80"} listItemId={1}></DynamicForm>

Output
image info

Please let me know your feedback and suggestions.

Thanks!

@ghost
Copy link

ghost commented Apr 15, 2021

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@ghost ghost added the Needs: Triage 🔍 label Apr 15, 2021
@ravichandran-blog ravichandran-blog changed the title Idea: Dynamic form New Control: Dynamic form Apr 15, 2021
@russgove
Copy link
Contributor

russgove commented Apr 16, 2021 via email

@ravichandran-blog
Copy link
Contributor Author

sounds like a great idea. if the list item i’d is null, does it create a new item?

Yes, right

@AJIXuMuK
Copy link
Collaborator

@ravichandran-blog - I think it's a wonderful idea!

Would be happy to see the PR from you!

@AJIXuMuK AJIXuMuK added type:enhancement New feature or enhancement of existing capability and removed Needs: Triage 🔍 labels Apr 17, 2021
@ravichandran-blog
Copy link
Contributor Author

Would be happy to see the PR from you!

Thanks @AJIXuMuK

@Matej4386
Copy link

this is really great idea - will it also handle form validation based on column settings?

@ravichandran-blog
Copy link
Contributor Author

Hi @Matej4386 ,

Yes, right. validation based on column settings, control development is done 100%, now I'm working for documentation.

Thanks!

@Matej4386
Copy link

@ravichandran-blog that is really great. Looking forward for this control.

@ravichandran-blog
Copy link
Contributor Author

ravichandran-blog commented May 15, 2021

Feeling wonderful :)

Submitted pull request,

#903

@AJIXuMuK AJIXuMuK added the status:fixed-next-drop Issue will be fixed in upcoming release. label May 21, 2021
@AJIXuMuK AJIXuMuK added this to the 3.2.0 milestone May 21, 2021
@AJIXuMuK
Copy link
Collaborator

@ravichandran-blog please, do not close issues that are not released yet.

@AJIXuMuK AJIXuMuK reopened this Jun 16, 2021
@ravichandran-blog
Copy link
Contributor Author

Oops! Sorry @AJIXuMuK

This was referenced Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:fixed-next-drop Issue will be fixed in upcoming release. type:enhancement New feature or enhancement of existing capability
Projects
None yet
Development

No branches or pull requests

4 participants