-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(objectInline): support inline boolean fields #171
Conversation
Preview is ready. |
Playwright Test Component is ready. |
@@ -30,6 +30,12 @@ test.describe('Checkbox', () => { | |||
|
|||
await expectScreenshot(); | |||
}); | |||
|
|||
test('layout transparent', async ({mount, expectScreenshot}) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you need to take a screenshot, to do this you need to run the command npm run playwright:docker
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
@@ -105,6 +105,7 @@ export const dynamicConfig: DynamicFormConfig = { | |||
row: Row, | |||
row_verbose: RowVerbose, | |||
table_item: TableCell, | |||
transparent: Transparent, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you also need to add a transparent layout for the dynamicViewConfig for boolean spec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed.
@NasgulNexus plz, look at https://preview.gravity-ui.com/dynamic-forms/171/?path=/story/object-inline--inline
I've added checkbox. Looks like true|false
on the View
tab.
Perhaps it would be cool to set aliases in spec for the checkbox values? But I'm not sure that anyone needs it.
bee6b33
to
42985a4
Compare
42985a4
to
456e607
Compare
No description provided.