[Form][WebProfiler] Fixed bug for #12949

| Q             | A
| ------------- | ---
| Fixed tickets | #12949
| License       | MIT