further updates

This commit is contained in:
Peter Clement 2025-01-24 16:51:25 +00:00
parent 4b7270a855
commit eb932770b3
1 changed files with 8 additions and 2 deletions

View File

@ -50,7 +50,13 @@
): ComponentUsingState[] => { ): ComponentUsingState[] => {
let foundComponents: ComponentUsingState[] = [] let foundComponents: ComponentUsingState[] = []
const eventHandlerProps = ["onClick", "onChange", "onRowClick"] const eventHandlerProps = [
"onClick",
"onChange",
"onRowClick",
"onChange",
"buttonOnClick",
]
eventHandlerProps.forEach(eventType => { eventHandlerProps.forEach(eventType => {
const handlers = component[eventType] const handlers = component[eventType]
@ -164,7 +170,7 @@
if (!stateKey || !$selectedScreen?.props) { if (!stateKey || !$selectedScreen?.props) {
return return
} }
console.log($selectedScreen.props)
componentsUsingState = findComponentsUsingState( componentsUsingState = findComponentsUsingState(
$selectedScreen.props, $selectedScreen.props,
stateKey stateKey