We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be nice if there is a way to disable few options from the dropdown. it can be implemented like below
const OPTIONS = [ { label: 'Male', value: 'male',disabled:false }, { label: 'Female', value: 'female',disabled:true }, { label: 'Other', value: 'other',disabled:false}, ]; export default function App() { const [gender, setGender] = useState<string>(); return ( <PaperProvider> <View style={{ margin: 16 }}> <Dropdown label="Gender" placeholder="Select Gender" options={OPTIONS} value={gender} onSelect={setGender} /> </View> </PaperProvider> );
The text was updated successfully, but these errors were encountered:
@vndpal thanks for the suggestion, will try to add this feature in a new release
Sorry, something went wrong.
fateh999
No branches or pull requests
It would be nice if there is a way to disable few options from the dropdown. it can be implemented like below
The text was updated successfully, but these errors were encountered: