fix(dashboard): Forward readonly and disabled to VariableInput#10048
fix(dashboard): Forward readonly and disabled to VariableInput#10048
Conversation
Pass readOnly and disabled props to the VariableInput in TextWidget so the control respects the parent readonly/disabled state. This makes the text widget non-editable or disabled when the surrounding step or form is marked readonly/disabled.
✅ Deploy preview added
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Hey there and thank you for opening this pull request! 👋 We require pull request titles to follow specific formatting rules and it looks like your proposed title needs to be adjusted. Your PR title is: Requirements:
Expected format: Details: PR title must end with 'fixes TICKET-ID' (e.g., 'fixes NOV-123') or include ticket ID in branch name |
|
No actionable comments were generated in the recent review. 🎉 WalkthroughThe patch adds a 🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Introduce an optional readOnly prop to VariableEditor and ControlInput (default false) and wire it through so editors respect readOnly (VariableEditor editable now false when readOnly). Also remove the organization existence check and early-return/log in SubscriberProcessWorker, so jobs are no longer skipped based on that check.
Pass readOnly and disabled props to the VariableInput in TextWidget so the control respects the parent readonly/disabled state. This makes the text widget non-editable or disabled when the surrounding step or form is marked readonly/disabled.
What changed? Why was the change needed?
Screenshots
Expand for optional sections
Related enterprise PR
Special notes for your reviewer