Replies: 4 comments 10 replies
-
I have no idea what you mean.
|
Beta Was this translation helpful? Give feedback.
-
Minimal exmaple
Running
Note how the first |
Beta Was this translation helpful? Give feedback.
-
I'm fine with |
Beta Was this translation helpful? Give feedback.
-
Just to prove a point, running with 9.22:
From
and thus none of the reserved stash values can be used to fill tags made via the This ought to be mentioned in the documentation. |
Beta Was this translation helpful? Give feedback.
-
The docs lists that for
stash
there are some reserved names. https://docs.mojolicious.org/Mojolicious/Controller#stashHow does these apply to
param
andtaghelpers
? (I fillparam
to havetaghelpers
pick up the values from the DB)Just noticed while writing a test that a form select field of the name
status
never marks the selected option. All other selects does mark their selected value.Should it just be obvious that the reserved stash names also apply to param parameters? Because it wasn't for me.
I'll just rename this form field through out my application, but it would be nice if this was noted in the documentation.
Beta Was this translation helpful? Give feedback.
All reactions