Hi @smarlet thanks for reaching out! Glad to hear it works when hardcoded--that narrows things down quite a bit
Are you passing the model in to your custom component?
React:
const MyCustomComponent = ({ triggerQuery, model, modelUpdate }) => (
JS:
window.Retool.subscribe(function(model) {
My teammate made a sample app here that you can import into your instance if you want to see a working custom component!
Let me know if you're already passing in the model!