skip to Main Content

React Native dropdown api value not selected

I am using react-native-element-dropdown in react native app. It works fine with default value if set in useState but it's not work with set api response value and not selected in dropdown import { Dropdown } from "react-native-element-dropdown"; const Profile…

VIEW QUESTION

Mongodb – React – how to change css file with dyamic values

I've a component with this input slider (works with radio buttons) <input checked={settings[0]?.payments.length === 1 ? 'checked' : null} type='radio' id={payment.value} value={payment.value} onChange={ settings[0]?.payments.length === 1 ? setState(payment.value) : handleChange ></input> And the checked radio button has this static bg…

VIEW QUESTION
Back To Top
Search