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.12k stars 802 forks source link

Feature request : add class names for show data saving panels #982

Open fastclemmy opened 6 years ago

fastclemmy commented 6 years ago

Are you requesting a feature, reporting a bug or ask a question?

Requesting a feature.

What is the current behavior?

When you try out the example showing the panels toggling but not using the bootstrap classes, there are no specific CSS classes on the "An error occurred and we could not save the results." or "The results were saved successfully!" blocks...

What is the expected behavior?

... which makes its styling difficult, as we cannot differenciate the "saving" vs. "saving OK" vs. "saving KO" blocks in CSS only.

It would be nice to have a generic class : sv_data_save_status + 3 specific classes : sv_data_save_idle, sv_data_save_ok, sv_data_save_ko, depending on the server status.

Thanks!

Specify your

andrewtelnov commented 6 years ago

@fastclemmy yep, it makes sense. I am adding into our TODO list.

Thank you, Andrew