Skip to content

Added support for Events to trigger JavaScript functions; Enabled support to supply multiple of the same event type for an element; Enabled Events support for additional elements, including Buttons and File Upload; Fixed a bug with Range value textbox not triggering Change events; Added custom "step" support for Range elements; Added Update and Step Actions for Range elements#689

Merged
Badgerati merged 1 commit intodevelopfrom
Issue-494
Feb 1, 2026

Conversation

@Badgerati
Copy link
Copy Markdown
Owner

@Badgerati Badgerati commented Feb 1, 2026

Description of the Change

Updates a lot of events functionality, and Range features:

  • Added support for Events to trigger JavaScript functions
  • Enabled support to supply multiple of the same event type for an element
  • Enabled Events support for additional elements: Spinners, Lines, Text, Quotes, Headers, Code, Code Blocks, Paragraphs, File Uploads, and Buttons
  • Fixed a bug with Range value textbox not triggering Change events
  • Added custom "step" support for Range elements
  • Added Update and Step Actions for Range elements

For buttons, there is now a -NoClick switch which will render a "dummy" button - no URL or ScriptBlock. Instead, you can pipe the button into Register-PodeWebEvent and build your own custom handlers.

For the supplying of multiple of the same event types, this means you can now call Register-PodeWebEvent and supply multiple click, or change, or mouseover events to the same element - and they will be invoked in the other the events were defined. You can even mix-and-match server-side/client-side events.

Related Issue

@Badgerati Badgerati added this to the 1.0.0 milestone Feb 1, 2026
@Badgerati Badgerati self-assigned this Feb 1, 2026
@Badgerati Badgerati added the enhancement ⬆️ New feature or request label Feb 1, 2026
@Badgerati Badgerati merged commit 1c5e13e into develop Feb 1, 2026
5 checks passed
@Badgerati Badgerati deleted the Issue-494 branch February 1, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement ⬆️ New feature or request

Projects

None yet

1 participant