4 ms·
So you have to write JS. But I guess there would be a single event handler that shows all the error messages and server would push down HTML describing errors,
by elmigranto 10y ago
So you have to write JS.
But I guess there would be a single event handler that shows all the error messages and server would push down HTML describing errors, e.g. validation.
Why not make it part of the lib then, so "no js" thing stands? :)
- unethical_ban 10y agoHm, I guess it would be interesting to have some kind of error code handling. <button ic-post-to="/query" ic-on-http-404="/errortemplate"> or similar.
- carsongross 10y agoOh, that exists: http://intercoolerjs.org/attributes/ic-post-errors-to.html http://intercoolerjs.org/attributes/ic-post-errors-to.html