open timepicker just with click on input(no click on icon)
This commit is contained in:
@@ -9,7 +9,7 @@ import GeneralInformation from "./listMenu/generalInformation";
|
||||
import Step from "./Step";
|
||||
|
||||
function AddDoctorPage() {
|
||||
const [value, setValue] = useState(0);
|
||||
const [value, setValue] = useState(2);
|
||||
const [data, setData] = useState({
|
||||
general: {
|
||||
name: { value: "", placeholder: "احسان احمدی", isEdit: true },
|
||||
@@ -35,7 +35,7 @@ function AddDoctorPage() {
|
||||
work_day: [
|
||||
{
|
||||
name: "شنبه",
|
||||
number_turns: "",
|
||||
number_turns: 1,
|
||||
turn_time: "",
|
||||
workplace: "",
|
||||
morning_time: ["", ""],
|
||||
@@ -43,7 +43,7 @@ function AddDoctorPage() {
|
||||
},
|
||||
{
|
||||
name: "یکشنبه",
|
||||
number_turns: "",
|
||||
number_turns: 1,
|
||||
turn_time: "",
|
||||
workplace: "",
|
||||
morning_time: ["", ""],
|
||||
@@ -51,7 +51,7 @@ function AddDoctorPage() {
|
||||
},
|
||||
{
|
||||
name: "دوشنبه",
|
||||
number_turns: "",
|
||||
number_turns: 1,
|
||||
turn_time: "",
|
||||
workplace: "",
|
||||
morning_time: ["", ""],
|
||||
@@ -59,7 +59,7 @@ function AddDoctorPage() {
|
||||
},
|
||||
{
|
||||
name: "سه شنبه",
|
||||
number_turns: "",
|
||||
number_turns: 1,
|
||||
turn_time: "",
|
||||
workplace: "",
|
||||
morning_time: ["", ""],
|
||||
@@ -67,7 +67,7 @@ function AddDoctorPage() {
|
||||
},
|
||||
{
|
||||
name: "چهار شنبه",
|
||||
number_turns: "",
|
||||
number_turns: 1,
|
||||
turn_time: "",
|
||||
workplace: "",
|
||||
morning_time: ["", ""],
|
||||
@@ -75,7 +75,7 @@ function AddDoctorPage() {
|
||||
},
|
||||
{
|
||||
name: "پنج شنبه",
|
||||
number_turns: "",
|
||||
number_turns: 1,
|
||||
turn_time: "",
|
||||
workplace: "",
|
||||
morning_time: ["", ""],
|
||||
@@ -83,6 +83,8 @@ function AddDoctorPage() {
|
||||
},
|
||||
],
|
||||
});
|
||||
console.log(data);
|
||||
|
||||
|
||||
const components = [
|
||||
<GeneralInformation
|
||||
|
||||
Reference in New Issue
Block a user