Comments (1)
The row_click is for a JS command (so a %JS{} struct) and run on the client when the row is clicked, so the JS command is the only supported value to be returned from the function, which is called when the row is rendered and placed into the DOM. In this case, the error is correct as it's trying to place the result of the IO.inspect call into the DOM. If you think we should generate a better doc:
for the row_click attribute, we'd gladly accept a PR. Thanks!
from phoenix.
Related Issues (20)
- `ArgumentError` for local redirect path segments starting with `%` too broad? HOT 1
- Generate long polling support on new apps
- Running MIX_ENV=docs mix docs results in compilation errors HOT 3
- Deleting umbrella :context_app config -> all generator files end up in *_web HOT 1
- Use mix format? HOT 1
- Creating Umbrella Web App With `phx.new.web` Results in App That Cannot Be Compiled HOT 6
- Miskeeping a `end` keyword in the context module while expanding it with `mix phx.gen.context` HOT 1
- :debug_heex_annotations mess up live_components HOT 2
- Response cookies must be set using cowboy_req HOT 2
- Bandit HTTP1.Handler error log for not handling :now_available when falling back to longpoll HOT 3
- Should it be allowed to generate live/html/json/... without attributes? HOT 2
- Context generator does not respect `--repo` option
- the umbrella generator is messy
- LiveView falls back to Longpolling too often HOT 15
- Does not seem possible to use assign in custom error html HOT 2
- Deprecation warning on startup HOT 1
- phx.gen.cert cannot generate a certificate on 2024-02-29 with a valid end date HOT 1
- Longpoll fallback is preserved after server restart and browser reload HOT 25
- Incorrect parameter name for category IDs in "Contexts" guide section HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phoenix.