Skip to content
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

[Doc] Add headless section in pages components #9447

Merged
merged 11 commits into from
Nov 22, 2023
Merged

[Doc] Add headless section in pages components #9447

merged 11 commits into from
Nov 22, 2023

Conversation

fzaninotto
Copy link
Member

@fzaninotto fzaninotto commented Nov 15, 2023

  • Add headless section to Create
  • Add headless section to Show
  • Add headless section to Edit
  • Add headless section to List
  • Add headless section to SimpleForm
  • Add headless section to Features
  • [ ] Add links to demos (no public demo yet)

image

Copy link
Collaborator

@djhi djhi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be worth mentionning this can be used when you want a custom UI without MUI

docs/Create.md Outdated Show resolved Hide resolved
docs/Edit.md Outdated Show resolved Hide resolved
docs/Features.md Outdated Show resolved Hide resolved
docs/InfiniteList.md Outdated Show resolved Hide resolved
docs/InfiniteList.md Outdated Show resolved Hide resolved
docs/List.md Outdated Show resolved Hide resolved
docs/Show.md Outdated Show resolved Hide resolved
docs/useCreateController.md Outdated Show resolved Hide resolved
docs/useEditController.md Outdated Show resolved Hide resolved
docs/useListController.md Outdated Show resolved Hide resolved
fzaninotto and others added 2 commits November 21, 2023 10:50
Co-authored-by: adrien guernier <adrien@marmelab.com>
@fzaninotto
Copy link
Member Author

Review applied

@@ -599,3 +601,90 @@ export default OrderEdit;
```

**Tip:** If you'd like to avoid creating an intermediate component like `<CityInput>`, or are using an `<ArrayInput>`, you can use the [`<FormDataConsumer>`](./Inputs.md#linking-two-inputs) component as an alternative.

## Controlled Mode
Copy link
Collaborator

@djhi djhi Nov 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why Controlled Mode? This is misleading imo. Controlled vs Uncontrolled refers to other concepts

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no better name for it...

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With Default UI ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand what that means... I don't think it's better than "controlled mode"

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nvm

@djhi djhi merged commit d1042fd into master Nov 22, 2023
11 checks passed
@djhi djhi deleted the doc-headless branch November 22, 2023 08:33
@djhi djhi added this to the 4.16.1 milestone Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants