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

[fields] Fix readOnly behavior #12609

Merged

Conversation

LukasTy
Copy link
Member

@LukasTy LukasTy commented Mar 29, 2024

@LukasTy LukasTy added bug 🐛 Something doesn't work component: pickers This is the name of the generic UI component, not the React module! component: DateRangePicker The React component. labels Mar 29, 2024
@LukasTy LukasTy requested a review from flaviendelangle March 29, 2024 13:59
@LukasTy LukasTy self-assigned this Mar 29, 2024
@@ -196,6 +197,7 @@ export const useFieldV6TextField: UseFieldTextField<false> = (params) => {

const syncSelectionFromDOM = () => {
if (readOnly) {
setSelectedSections(null);
Copy link
Member Author

Choose a reason for hiding this comment

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

@mui-bot
Copy link

mui-bot commented Mar 29, 2024

Deploy preview: https://deploy-preview-12609--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against af008cf

@LukasTy LukasTy merged commit fb44570 into mui:master Apr 2, 2024
20 checks passed
@LukasTy LukasTy deleted the fix-readonly-range-field-behavior-the-right-way branch April 2, 2024 11:52
DungTiger pushed a commit to DungTiger/mui-x that referenced this pull request Jul 23, 2024
thomasmoon pushed a commit to thomasmoon/mui-x that referenced this pull request Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: DateRangePicker The React component. component: pickers This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants