mui-toolpad icon indicating copy to clipboard operation
mui-toolpad copied to clipboard

Support bindable default value for inputs

Open Janpot opened this issue 1 year ago • 4 comments

split out default value in a separate prop and make it bindable to e.g. page parameters

Fixes https://github.com/mui/mui-toolpad/issues/414

Janpot avatar Aug 22 '22 14:08 Janpot

Your Render PR Server URL is https://toolpad-pr-838.onrender.com.

Follow its progress at https://dashboard.render.com/web/srv-cc1p1k1gp3jk4km8nbv0.

render[bot] avatar Aug 22 '22 14:08 render[bot]

@apedroferreira Trying out applying the methodology from https://playwright.dev/docs/test-pom here

Janpot avatar Aug 30 '22 10:08 Janpot

One more comment about UX: is it intentional that the text field value control is completely disabled on the right? I thought we wanted to have two-way binding, but not sure how easy or doable it is for now.

apedroferreira avatar Aug 30 '22 15:08 apedroferreira

is it intentional that the text field value control is completely disabled on the right? I thought we wanted to have two-way binding, but not sure how easy or doable it is for now.

Yes, the idea is that it serves as a pure output until we have a good story for two-way binding

Janpot avatar Aug 30 '22 15:08 Janpot