You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
as("hidden") should allow omitting the value when the field manages its own state #15887
When using as("hidden") on a remote form field, the value parameter is required — both at the type level (AsArgs) and at runtime (throws in DEV if missing). This forces redundant patterns when the field already manages its own state:
Other types (text, number, etc.) allow omitting the second argument, in which case they use get_value() internally. Hidden inputs should work the same way.
Describe the proposed solution
Make the value parameter optional for as("hidden"). When omitted, use get_value() (the reactive form state) just like as("text") does:
Activity