getgrav / getgrav/grav-plugin-form
Reset not working as expected [BUG]
- Dominant language
- PHP
- Stars
- 64
- Forks
- 80
- Avg merge
- 10h 13m
- Merged PRs (30d)
- 9
Description
If i set:
```
reset: true
```
in a form process section it clears data after submit, but if i try to refresh the browser it complains about data submitted again.
Also if i have (with reset - true):
```
-
ip:
label: User IP Address
```
That field shows up after form submit:
```
User IP Address
```
Why is it shown up in my form after submit?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the form process with reset: true, then refresh after submission and inspect the ip field behavior shown in the issue. Trace the reset handling and the rendering of the disabled ip field; done means refresh no longer repeats the submission and the field behaves as intended after submit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100