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
As the documentation specifies here, I would expect that the created link contains the supplied parameters, e.g. in the example above, if item.id: 42, it should link to #!/edit/42.
Current Behavior
The parameters are ignored, and the URL template is generated as such, i.e. the link becomes #!/edit/:id
The text was updated successfully, but these errors were encountered:
Remove that from the docs altogether for now. It's wrong, and there currently isn't that functionality.
Add a params: attribute to m.route.Link to add that functionality directly. The name here aligns with m.request and m.jsonp who use it to similar effect.
Mithril version: v2.0.0-rc.9
Browser and OS:: any
Code
Flems: see here
Expected Behavior
As the documentation specifies here, I would expect that the created link contains the supplied parameters, e.g. in the example above, if
item.id: 42
, it should link to#!/edit/42
.Current Behavior
The parameters are ignored, and the URL template is generated as such, i.e. the link becomes
#!/edit/:id
The text was updated successfully, but these errors were encountered: