react-material-ui-form-validator
react-material-ui-form-validator copied to clipboard
SelectValidator causing page scroll to vanish - unable to override
Hello there,
The issue we are encountering is that the <SelectValidator/> component will not accept MenuProps={{disableScrollLock: true}} attribute.
This means that when the select is opened, the page shifts to the right as the portal that holds the select elements does not exceed the page height.
@Luke-S1 Hi, try to use it as
SelectProps={{
MenuProps: { disableScrollLock: true },
}}
SelectValidator uses TextField component so all Select related props must be passed via SelectProps
Hi, I'm new to react-material-ui-form-validator. Can someone help me understand how to use radio buttons with react-material-ui-form-validator with an example code?
@AkshatK805 you can check this one #65 It's a bit old answer and render must be changed to renderValidatorComponent, but you can get the main idea from there
@NewOldMax thank you so much, it worked.