surveyjs / survey-library

Free JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout.
https://surveyjs.io/form-library
MIT License
4.22k stars 816 forks source link

Angular uses bootstrap-datetimepicker #8996

Closed fengzhihenxs closed 3 weeks ago

fengzhihenxs commented 3 weeks ago

Hello, I use surveyjs form-library in angular17. I see that there are some third-party widgets built into the official, but I need to use bootstrap-datetimepicker to implement the input format as "10/30/2024 4:20 PM". How do I do that? Hope it inspires me.

Looking forward to your reply, thank you.

JaneSjs commented 3 weeks ago

You can integrate a Bootstrap datepicker using a custom widger option: View Demo. If you wish to proceed with a modern component-based approach, consider creating a custom question model and a custom question renderer which would integrate an Angular Bootstrap DatePicker. For more information on how to integrate third-party Angular components, please visit Integrate Third-Party Angular Components.

fengzhihenxs commented 3 weeks ago

@JaneSjs Thank. I'll give it a try.