ramkumar9226
ramkumar9226
Explore posts from servers
RRefine
Created by ratty-blush on 2/1/2023 in #ask-any-question
I am using useDrawerForm inside of a list page
I wanted to see if there is a way to pass a query parameter to the list page and open the drawer with default value provided in the query param. Like for ex. /products?category=1 would open the create form with category id 1 filled in.
3 replies
RRefine
Created by helpful-purple on 1/16/2023 in #ask-any-question
I have a form field which is a nested Object how can I use `useDrawerForm` to create entry?
I have a form field which would have dynamic fields based on an Object Array something like this [{'key': 'field-1', 'required': true}, {'key': 'field-2', 'required': false}]. I want to construct the form elements based on the object array, lets say the data from this form would be saved as a json under data field how to use useDrawerForm to achieve this?
7 replies
RRefine
Created by fair-rose on 1/15/2023 in #ask-any-question
useDrawerForm with additional parameters
Hi there, I am trying to use useDrawerForm . I have cards for different product type/categories. And when the user clicks on one of the product type I want to show a create drawer which would create corresponding product in the category. Now my question is how do i pass the categoryId or product Type id to the drawer. So it gets that context.
6 replies